/* Source: styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.login-box h1 {
    color: #667eea;
    text-align: center;
    margin-bottom: 5px;
    font-size: 32px;
}

.tagline {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 0;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
    font-size: 20px;
    margin-top: 25px;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 14px;
}

.btn-appointment {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px 25px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-appointment:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.appointment-icon {
    font-size: 32px;
}

.appointment-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.appointment-text strong {
    font-size: 18px;
    font-weight: 600;
}

.appointment-text small {
    font-size: 13px;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.btn-primary {
    text-decoration: none;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    text-decoration: none;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover {
    text-decoration: none;
    background: #5a6268;
}

.btn-success {
    text-decoration: none;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-success:hover {
    text-decoration: none;
    background: #218838;
}

.btn-danger {
    text-decoration: none;
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-danger:hover {
    text-decoration: none;
    background: #c82333;
}

.btn-warning {
    text-decoration: none;
    padding: 8px 16px;
    background: #ffc107;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-warning:hover {
    text-decoration: none;
    background: #e0a800;
}

.btn-print {
    text-decoration: none;
    padding: 8px 16px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-print:hover {
    text-decoration: none;
    background: #138496;
}

.error-message {
    color: #dc3545;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.login-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #666;
}

.login-info p {
    margin: 5px 0;
}

/* Dashboard */
.dashboard {
    min-height: 100vh;
    background: #f5f6fa;
}

.dashboard.active {
    display: block;
}

.header {
    background: white;
    padding: 16px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header h1 {
    color: #667eea;
    font-size: 24px;
    margin: 0;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header {
    padding: 10px 24px;
    background: #4a90a4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-header:hover {
    background: #3d7a8c;
    text-decoration: none;
    color: white;
}

.btn-header-logout {
    background: #5a6a72;
}

.btn-header-logout:hover {
    background: #4a5a62;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info span {
    color: #555;
    font-weight: 600;
}

.main-content {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.1);
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tab-link:hover {
    background: rgba(102, 126, 234, 0.25);
    color: #333;
}

.tab-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.3);
}

.controls {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.controls-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.controls-row:last-child {
    margin-bottom: 0;
}

.search-box {
    flex: 1;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* New Filters Container Styles */
.filters-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.filters-row-1 {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.filters-row-2 {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-add-new {
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-add-new:hover {
    background: #218838;
    text-decoration: none;
    color: white;
}

.search-input {
    flex: 1;
    min-width: 280px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #28a745;
}

.search-input::placeholder {
    color: #999;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #555;
    min-width: 140px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #28a745;
}

.btn-reset-filters {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
}

.btn-reset-filters:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.filters input,
.filters select {
    padding: 10px 14px;
    border: 1px solid #d6d9e3;
    border-radius: 8px;
    font-size: 14px;
    min-width: 150px;
}

.filters button {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: #6c757d;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    margin: 16px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card h2,
.card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #2c3e50;
}

.content {
    margin: 0 auto;
    max-width: 1400px;
}

.flash {
    margin: 20px auto;
    max-width: 600px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.flash-success {
    background: rgba(40, 167, 69, 0.12);
    color: #1c7c35;
    border: 1px solid rgba(40, 167, 69, 0.4);
}

.flash-error {
    background: rgba(220, 53, 69, 0.12);
    color: #a11928;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.inline-form {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.inline-form select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #d6d9e3;
}

.data-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

thead th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

thead th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

tbody tr:hover {
    background: #f8f9fa;
}

tbody td {
    padding: 15px;
    font-size: 14px;
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
}

.modal.active,
.modal[style*="display: flex"],
.modal[style*="display:flex"] {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    color: #667eea;
    font-size: 22px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

/* Profile Modal Styles */
.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.profile-label {
    font-weight: 600;
    color: #555;
}

.profile-value {
    color: #333;
}

.profile-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-staff {
    background: #28a745;
    color: white;
}

.profile-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

.password-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

/* User Name Link */
.user-name-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}

.user-name-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* User Type Badge in Table */
.user-type-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* User Info Modal */
.user-info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.user-info-item:last-child {
    border-bottom: none;
}

.user-info-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.user-info-value {
    color: #333;
    font-size: 14px;
}

/* Customer Name Link */
.customer-name-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}

.customer-name-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Customer Info Modal */
.customer-info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customer-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
}

.customer-section h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.customer-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.customer-info-item:last-child {
    border-bottom: none;
}

.customer-info-item.total-row {
    background: #e8f5e9;
    margin: 10px -16px -16px -16px;
    padding: 12px 16px;
    border-radius: 0 0 10px 10px;
    border-bottom: none;
}

.customer-info-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.customer-info-value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.tire-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.tire-info-row:last-child {
    border-bottom: none;
}

.tire-season {
    font-weight: 600;
    color: #667eea;
    font-size: 13px;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.tire-details {
    color: #333;
    font-size: 14px;
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-waiting {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #cce5ff;
    color: #004085;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Button Info */
.btn-info {
    padding: 8px 16px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-info:hover {
    background: #138496;
}

/* Appointment Modal */
.appointment-info-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.appointment-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
}

.appointment-section h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.appointment-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.appointment-info-item:last-child {
    border-bottom: none;
}

.appointment-info-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.appointment-info-value {
    color: #333;
    font-size: 14px;
}

/* Status Buttons */
.status-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.status-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.status-btn-waiting {
    background: #fff3cd;
    color: #856404;
    border: 2px solid #ffc107;
}

.status-btn-waiting:hover {
    background: #ffc107;
    color: #333;
}

.status-btn-confirmed {
    background: #cce5ff;
    color: #004085;
    border: 2px solid #007bff;
}

.status-btn-confirmed:hover {
    background: #007bff;
    color: white;
}

.status-btn-completed {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.status-btn-completed:hover {
    background: #28a745;
    color: white;
}

.status-btn-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

.status-btn-cancelled:hover {
    background: #dc3545;
    color: white;
}

/* WhatsApp Button */
.btn-whatsapp {
    padding: 10px 20px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: white;
    text-decoration: none;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.page-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 22px;
}

.header-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.stat-waiting {
    background: #fff3cd;
    color: #856404;
}

.stat-confirmed {
    background: #cce5ff;
    color: #004085;
}

.stat-completed {
    background: #d4edda;
    color: #155724;
}

/* Filter Button */
.btn-filter {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-filter:hover {
    background: #5a6fd6;
}

/* Service Badge */
.service-badge {
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Empty Cell */
.empty-cell {
    text-align: center;
    padding: 40px !important;
    color: #999;
    font-size: 15px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Print Label - Multiple A5 on A4 */
.print-container {
    display: none;
}

@media print {
    @page {
        size: 105mm 148mm;
        margin: 0;
    }

    html, body {
        width: 105mm;
        height: 148mm;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    
    body * {
        visibility: hidden;
    }
    
    .print-container,
    .print-container * {
        visibility: visible;
    }
    
    .print-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 105mm;
        height: 148mm;
        margin: 0;
        padding: 3mm;
        display: block;
        page-break-before: avoid;
        page-break-after: avoid;
        page-break-inside: avoid;
        box-sizing: border-box;
    }
    
    .print-label-a6 {
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        font-family: Arial, sans-serif;
        box-sizing: border-box;
        page-break-after: avoid;
        page-break-before: avoid;
        page-break-inside: avoid;
        gap: 2mm;
    }
    
    .print-label-a6 .customer-name {
        font-size: 28pt;
        font-weight: bold;
        margin-bottom: 2mm;
        line-height: 1.05;
    }
    
    .print-label-a6 .tire-section {
        width: 100%;
        margin: 2mm 0;
        padding: 1mm 0;
    }
    
    .print-label-a6 .tire-status-mounted {
        font-size: 20pt;
        font-weight: bold;
        color: #28a745;
        margin-bottom: 1mm;
    }
    
    .print-label-a6 .tire-status-storage {
        font-size: 20pt;
        font-weight: bold;
        color: #17a2b8;
        margin-bottom: 1mm;
    }
    
    .print-label-a6 .tire-status-empty {
        font-size: 20pt;
        font-weight: bold;
        color: #999;
    }
    
    .print-label-a6 .tire-brand {
        font-size: 22pt;
        font-weight: bold;
        margin-bottom: 1mm;
        line-height: 1.05;
    }
    
    .print-label-a6 .tire-size {
        font-size: 30pt;
        font-weight: bold;
        margin-bottom: 1mm;
        line-height: 1.05;
    }
    
    .print-label-a6 .production-date {
        font-size: 16pt;
        color: #666;
        margin-top: 1mm;
    }
    
    .print-label-a6 .plate-number {
        font-size: 20pt;
        font-weight: bold;
        margin-top: 2mm;
    }
    
    .print-label-a6 .phone-number {
        font-size: 18pt;
        margin-top: 1mm;
    }
    
    .print-label-a6 .installation-date {
        font-size: 16pt;
        color: #555;
        margin-top: 1mm;
    }

    .print-label-a6 .tire-meta {
        font-size: 16pt;
        color: #444;
        margin-top: 1mm;
        line-height: 1.1;
    }

    .print-label-a6 .print-box {
        width: 100%;
        border: 1px solid #333;
        border-radius: 2mm;
        padding: 2mm;
        margin: 2mm 0;
        box-sizing: border-box;
        background: #f8f8f8;
    }

    .print-label-a6 .info-box {
        background: #eef5ff;
        border-color: #2f6feb;
    }
    .print-label-a6 .tire-box {
        background: #f9f9f9;
    }

    .print-label-a6 .tire-divider {
        font-size: 14pt;
        margin: 2mm 0;
        color: #666;
        letter-spacing: 0.5px;
    }
    
    /* Eski stilleri gizle */
    .print-page {
        display: none;
    }
    
    .print-label {
        display: none;
    }
    
    .print-label-other {
        text-align: center;
        font-family: Arial, sans-serif;
        box-sizing: border-box;
        page-break-inside: avoid;
        vertical-align: top;
        position: absolute;
    }
    
    .print-label.left {
        left: 0;
        top: 0;
        border-right: 1px dashed #999;
    }
    
    .print-label.right {
        right: 0;
        top: 0;
    }
    
    .print-label.left.bottom {
        top: 148.5mm;
    }
    
    .print-label.right.bottom {
        top: 148.5mm;
    }
    
    .print-label .tire-number {
        font-size: 15.5pt;
        color: #666;
        margin-bottom: 4mm;
        font-weight: 600;
    }
    
    .print-label .customer-name {
        font-size: 24.5pt;
        font-weight: bold;
        margin-bottom: 5mm;
        word-wrap: break-word;
        max-width: 100%;
        line-height: 1.2;
    }
    
    .print-label .tire-brand {
        font-size: 22.5pt;
        font-weight: bold;
        margin-bottom: 4mm;
    }
    
    .print-label .tire-size {
        font-size: 28pt;
        font-weight: bold;
        margin-bottom: 3mm;
    }
    
    .print-label .tire-type {
        font-size: 19.5pt;
        margin-bottom: 4mm;
    }
    
    .print-label .tire-info {
        font-size: 18.5pt;
        margin-bottom: 3mm;
    }
    
    .print-label .plate-number {
        font-size: 18.5pt;
        font-weight: bold;
        margin-bottom: 3mm;
    }
    
    .print-label .phone-number {
        font-size: 17.5pt;
        margin-top: 2mm;
    }
    
    .print-label .production-date {
        font-size: 15.5pt;
        color: #555;
        margin-top: 2mm;
    }
    
    .print-label .installation-date {
        font-size: 15.5pt;
        color: #555;
        margin-top: 2mm;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .controls-row {
        flex-direction: column;
    }
    
    .search-box,
    .filter-group {
        width: 100%;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .data-table {
        overflow-x: auto;
    }
    
    table {
        min-width: 800px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .main-content {
        padding: 20px 10px;
    }
    
    thead th,
    tbody td {
        padding: 10px;
        font-size: 13px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .actions button {
        width: 100%;
    }
}
/* Source: tire-styles.css */
    .print-label-a6 .tire-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2mm;
        margin: 1mm 0;
    }

    .print-label-a6 .tire-details {
        flex: 1;
    }

    .print-label-a6 .tire-count-box {
        border: 1px solid #666;
        border-radius: 1mm;
        padding: 1mm 2mm;
        font-size: 18pt;
        font-weight: bold;
        white-space: nowrap;
        text-align: center;
        background: #fff;
    }

    .print-label-a6 .tire-count-box.empty {
        border-color: #999;
        color: #999;
    }

    .print-label-a6 .tire-count-box.mounted {
        border-color: #28a745;
        color: #28a745;
    }

    .print-label-a6 .tire-count-box.storage {
        border-color: #17a2b8;
        color: #17a2b8;
    }