/* Customer Specific Styles */

/* Initial Loading Screen */
.initial-loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.95) 0%, rgba(26, 34, 51, 0.98) 100%);
}

.initial-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.initial-loading-content .logo-icon {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
}

.initial-loading-content .loading-spinner {
    width: 48px;
    height: 48px;
}

.initial-loading-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Auth Section */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.95) 0%, rgba(26, 34, 51, 0.98) 100%);
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
}

.auth-logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.auth-logo p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6) 0%, rgba(26, 34, 51, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.auth-form .info-group {
    margin-bottom: 1rem;
}

.auth-form .info-group input {
    padding: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-google svg {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 500;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-switch a:hover {
    color: var(--secondary);
}

.auth-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.auth-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6) 0%, rgba(26, 34, 51, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
}

.auth-loading p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9375rem;
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
    color: var(--danger);
    font-size: 0.9375rem;
    text-align: center;
}

/* Header */
.customer-header {
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.95) 0%, rgba(26, 34, 51, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 48px rgba(106, 219, 217, 0.05);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section .logo-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
}

.logo-section h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.header-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu-wrapper {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: 2px solid transparent;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar-btn:hover {
    background: rgba(106, 219, 217, 0.1);
    border-color: var(--border);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(106, 219, 217, 0.3);
    flex-shrink: 0;
}

.user-avatar svg {
    width: 22px;
    height: 22px;
    color: white;
}

.user-avatar-info {
    text-align: left;
}

.user-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
    color: var(--text-primary);
}

.user-menu-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.user-menu-arrow {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.user-avatar-btn.active .user-menu-arrow {
    transform: rotate(180deg);
}

/* Profile Dropdown */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 380px;
    max-height: 80vh;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.98) 0%, rgba(26, 34, 51, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.profile-dropdown.active {
    display: flex;
}

.profile-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.profile-dropdown-header h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.profile-dropdown-content {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.profile-dropdown-content .info-group {
    margin-bottom: 1rem;
}

.profile-dropdown-content .address-section {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.profile-dropdown-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.profile-dropdown-footer .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Profile Page */
.profile-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-page-header {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: var(--primary);
}

.btn-back svg {
    width: 20px;
    height: 20px;
}

.profile-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.profile-grid .info-card.full-width {
    grid-column: 1 / -1;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-page {
        padding: 1rem;
    }

    .profile-page-header h1 {
        font-size: 1.5rem;
    }
}

/* Main Content */
.customer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-small {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6) 0%, rgba(26, 34, 51, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card-small:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.stat-icon-small {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-small svg {
    width: 24px;
    height: 24px;
    color: white;
}

.stat-icon-small.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.stat-icon-small.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stat-icon-small.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.stat-label-small {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Customer Grid */
.customer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Info Cards */
.info-card {
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6) 0%, rgba(26, 34, 51, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: visible;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--border-hover);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content {
    padding: 1.5rem;
    overflow: visible;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.btn-edit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.15), rgba(126, 239, 237, 0.1));
    border-color: var(--border-hover);
}

.btn-edit svg {
    width: 16px;
    height: 16px;
}

/* Info Groups */
.info-group {
    margin-bottom: 1.25rem;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6), rgba(31, 41, 55, 0.6));
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.info-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.info-group input:not(:disabled):focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 4px rgba(106, 219, 217, 0.15);
}

.input-hint {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

/* Subscription Options */
.subscription-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.subscription-option {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.subscription-option:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.subscription-option.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
    box-shadow: 0 4px 16px rgba(106, 219, 217, 0.2);
}

.subscription-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(106, 219, 217, 0.3);
}

.subscription-header {
    margin-bottom: 1rem;
}

.subscription-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.subscription-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.subscription-features {
    list-style: none;
    padding: 0;
}

.subscription-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscription-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

/* Availability Selector */
.availability-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.day-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.day-selector:has(input:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

.day-selector:not(:has(input:disabled)):hover {
    border-color: var(--border-hover);
}

.day-selector input:checked + span {
    color: var(--primary);
    font-weight: 600;
}

.day-selector:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
}

.day-selector input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.day-selector span {
    font-size: 0.875rem;
    font-weight: 500;
}

.time-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.time-input-wrapper label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6), rgba(31, 41, 55, 0.6));
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.time-input-wrapper input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.time-input-wrapper input:not(:disabled):focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 4px rgba(106, 219, 217, 0.15);
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.car-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.car-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.car-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(106, 219, 217, 0.3);
}

.car-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.car-image-container {
    width: 100%;
    height: 160px;
    margin-bottom: 1rem;
}

.car-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.05), rgba(126, 239, 237, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-loading {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.car-loading p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(106, 219, 217, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.car-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.car-details {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.car-license {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.75rem;
}

.car-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.car-remove svg {
    width: 16px;
    height: 16px;
    color: var(--danger);
}

/* Appointments List */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.appointment-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.appointment-date {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    min-width: 80px;
    box-shadow: 0 4px 12px rgba(106, 219, 217, 0.3);
}

.appointment-day {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.appointment-month {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.appointment-info {
    flex: 1;
}

.appointment-time {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.appointment-car-name {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.appointment-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.appointment-status.confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.appointment-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.appointment-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.appointment-status.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* Historical appointment styling */
.appointment-card.history {
    opacity: 0.85;
}

.appointment-card.history:hover {
    opacity: 1;
}

.appointment-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.125rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    grid-column: 1 / -1;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Car Preview */
.car-preview {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.car-preview h3 {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.car-preview p {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.warning-message {
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--warning);
    border-radius: var(--radius);
    color: var(--warning);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.car-image-preview {
    margin-top: 1rem;
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
}

.car-image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: fadeIn 0.3s ease;
}

/* Car Card Updates */
.car-subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.car-subscription-badge.none {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.car-subscription-badge.basic {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.car-subscription-badge.premium {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.car-subscription-badge.exclusive {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Car Availability Info */
.car-availability-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    font-size: 0.75rem;
    color: var(--success);
}

.car-availability-info svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.car-availability-info.no-availability {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Car Subscription Badge - Active State */
.car-subscription-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Car Warnings Section */
.car-warnings {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-top: 0.75rem;
}

.car-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.625rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius);
    font-size: 0.7rem;
    color: var(--warning);
    border-left: 2px solid var(--warning);
}

.car-warning svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.car-warning.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-left-color: var(--error);
}

/* Car Status OK */
.car-status-ok {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    font-size: 0.75rem;
    color: var(--success);
    border-left: 2px solid var(--success);
}

.car-status-ok svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Car Card States */
.car-card.needs-attention {
    border-color: rgba(245, 158, 11, 0.3);
}

.car-card.fully-configured {
    border-color: rgba(16, 185, 129, 0.3);
}

.car-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-car-action {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.5rem;
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-car-action:hover {
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.2), rgba(126, 239, 237, 0.1));
    border-color: var(--border-hover);
}

.btn-car-action svg {
    width: 12px;
    height: 12px;
}

.btn-car-action.has-subscription {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.btn-car-action.has-subscription:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border-color: rgba(16, 185, 129, 0.5);
}

/* Subscription button takes full width */
.btn-car-action.subscription-btn {
    min-width: 100%;
    flex-basis: 100%;
}

.btn-car-action.subscription-btn:not(.has-subscription) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.btn-car-action.subscription-btn:not(.has-subscription):hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    border-color: rgba(245, 158, 11, 0.5);
}

/* Current Subscription Info */
.current-subscription-info {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.current-sub-badge,
.sub-usage {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.current-sub-badge span,
.sub-usage span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.current-sub-badge strong,
.sub-usage strong {
    font-size: 1rem;
    color: var(--success);
}

/* Modal Medium */
.modal-content.modal-medium {
    max-width: 550px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.modal-content.modal-medium .modal-header {
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.98) 0%, rgba(26, 34, 51, 0.98) 100%);
    z-index: 10;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.modal-content.modal-medium .modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
}

.modal-content.modal-medium .modal-footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.98) 0%, rgba(26, 34, 51, 0.98) 100%);
    z-index: 10;
    padding: 1.25rem 1.5rem;
    border-top: 2px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Modal Large */
.modal-content.modal-large {
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.modal-content.modal-large .modal-header {
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.98) 0%, rgba(26, 34, 51, 0.98) 100%);
    z-index: 10;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.modal-content.modal-large .modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
}

.modal-content.modal-large .modal-footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.98) 0%, rgba(26, 34, 51, 0.98) 100%);
    z-index: 10;
    padding: 1.25rem 1.5rem;
    border-top: 2px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.car-settings-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.car-settings-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-hint {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Subscription Options Modal */
.subscription-options-modal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.subscription-option-small {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-option-small:hover {
    border-color: var(--border-hover);
}

.subscription-option-small.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
}

.sub-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.subscription-option-small.active .sub-radio {
    border-color: var(--primary);
}

.subscription-option-small.active .sub-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.sub-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sub-info strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.sub-info span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Availability Per Day */
.availability-per-day {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.day-availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.day-availability:has(.day-enabled:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.05), rgba(126, 239, 237, 0.02));
}

.day-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.day-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.day-name {
    font-weight: 600;
    color: var(--text-primary);
}

.day-times {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.day-availability:has(.day-enabled:checked) .day-times {
    opacity: 1;
}

.day-times input[type="time"] {
    padding: 0.5rem;
    background: rgba(21, 27, 46, 0.6);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.day-times span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Address Choice in Car Settings */
.address-choice {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.address-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.4), rgba(31, 41, 55, 0.4));
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-option:hover {
    border-color: var(--border-hover);
}

.address-option:has(input:checked) {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
}

.address-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary);
}

.address-option-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.address-option-content strong {
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.address-preview {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.car-custom-address {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    position: relative;
}

.car-custom-address .address-suggestions {
    z-index: 1000;
}

/* Modal Description */
.modal-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Address Section */
.address-section {
    margin-top: 1rem;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border);
}

.address-section .section-label {
    display: block;
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.address-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
    z-index: 100;
}

/* Ensure personal info card is above other cards when editing */
.info-card:has(.address-suggestions.active) {
    z-index: 50;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(31, 41, 55, 0.98));
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(106, 219, 217, 0.2);
    margin-top: 4px;
}

.address-suggestions.active {
    display: block;
}

.address-suggestion {
    padding: 0.875rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.address-suggestion:last-child {
    border-bottom: none;
}

.address-suggestion:hover {
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1), rgba(126, 239, 237, 0.05));
}

.address-suggestion-main {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.address-suggestion-sub {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.address-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.address-row {
    display: flex;
    gap: 0.75rem;
}

.address-row .info-group {
    margin-bottom: 0;
}

.street-field {
    flex: 3;
}

.number-field {
    flex: 1;
    min-width: 80px;
}

.addition-field {
    flex: 0.75;
    min-width: 70px;
}

.postal-field {
    flex: 1;
    min-width: 100px;
}

.city-field {
    flex: 2;
}

.address-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.address-loading .loading-spinner {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.address-no-results {
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 600px) {
    .address-row {
        flex-wrap: wrap;
    }

    .street-field {
        flex: 1 1 100%;
    }

    .number-field,
    .addition-field {
        flex: 1;
    }

    .postal-field,
    .city-field {
        flex: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .customer-grid {
        grid-template-columns: 1fr;
    }

    .subscription-options {
        grid-template-columns: 1fr;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .time-range {
        grid-template-columns: 1fr;
    }
}

/* ==================== SUBSCRIPTION OPTIONS ====================*/

.subscription-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.subscription-loading p {
    color: var(--text-secondary);
}

.subscription-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.subscription-option {
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6) 0%, rgba(26, 34, 51, 0.8) 100%);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.subscription-option:hover {
    border-color: var(--primary-muted);
    transform: translateY(-2px);
}

.subscription-option.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.1) 0%, rgba(21, 27, 46, 0.8) 100%);
}

.subscription-option.custom-deal {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(21, 27, 46, 0.8) 100%);
}

.subscription-option.custom-deal.active {
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.custom-deal-label {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.subscription-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.subscription-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.subscription-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.subscription-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subscription-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding-left: 1.5rem;
    position: relative;
}

.subscription-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Custom Deal Banner */
.custom-deal-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.deal-icon {
    font-size: 1.5rem;
}

.deal-content strong {
    color: #f59e0b;
    display: block;
    margin-bottom: 0.25rem;
}

.deal-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Commitment Info */
.commitment-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.commitment-info svg {
    color: #3b82f6;
    flex-shrink: 0;
}

.commitment-info span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.commitment-info strong {
    color: var(--text-primary);
}

/* ==================== SEPA SETUP MODAL ==================== */

.sepa-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(106, 219, 217, 0.1);
    border-radius: var(--radius);
}

.sepa-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
}

.sepa-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.sepa-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.selected-subscription-summary {
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6) 0%, rgba(26, 34, 51, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.selected-subscription-summary p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.summary-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-details strong {
    color: var(--text-primary);
    font-size: 1.125rem;
}

.summary-details span {
    color: var(--primary);
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stripe-element {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    transition: all 0.2s ease;
}

.stripe-element:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.stripe-errors {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.sepa-mandate-text {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
}

.sepa-mandate-text p {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0;
}

/* Button loading state */
#sepa-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#sepa-btn-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Current subscription info in modal */
.current-subscription-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.current-sub-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-sub-badge span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.current-sub-badge strong {
    color: var(--success);
    font-size: 1rem;
}

.sub-usage {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sub-usage span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.sub-usage strong {
    color: var(--text-primary);
}

/* Start date info */
.start-date-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius);
    margin-top: 0.5rem;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Subscription Change Info */
.subscription-change-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(106, 219, 217, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.change-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.change-type-badge.upgrade {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.change-type-badge.upgrade svg {
    stroke: var(--success);
}

.change-type-badge.downgrade {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.change-type-badge.downgrade svg {
    stroke: var(--warning);
}

.change-type-badge.new {
    background: linear-gradient(135deg, rgba(106, 219, 217, 0.2), rgba(106, 219, 217, 0.1));
    color: var(--primary);
    border: 1px solid rgba(106, 219, 217, 0.4);
}

.change-type-badge.cancel {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.change-type-badge svg {
    width: 14px;
    height: 14px;
}

.change-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.change-details p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.change-details p strong {
    color: var(--text-primary);
}

/* Button disabled state */
.btn.disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

/* ==================== PAYMENT METHOD SECTION ==================== */

.payment-method-card {
    background: linear-gradient(135deg, rgba(21, 27, 46, 0.6) 0%, rgba(26, 34, 51, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.payment-method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-method-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-method-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.payment-method-info {
    flex: 1;
}

.payment-method-iban {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.payment-method-status {
    font-size: 0.75rem;
    color: var(--success);
    margin-top: 0.25rem;
}

.payment-method-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.payment-method-empty p {
    margin-bottom: 1rem;
}

/* Change Payment Method Modal */
#change-payment-modal .modal-body {
    padding: 1.5rem;
}

.current-payment-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.current-payment-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.current-payment-info strong {
    color: var(--text-primary);
    font-family: 'Monaco', 'Menlo', monospace;
}
