:root {
    --primary-color: #12D488;
    --primary-dark: #10B874;
    --secondary-color: #2C3E50;
    --text-dark: #1A202C;
    --text-light: #718096;
    --border-color: #E2E8F0;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.

24);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #D8D8D8;
    min-height: 100vh;
    padding: 20px;
}

.booking-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.booking-container {
    background: #F8F9FA;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

/* Header */
.booking-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.booking-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.booking-header .logo i {
    font-size: 2.5rem;
}

.booking-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.booking-header .subtitle {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    background: var(--bg-light);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(18, 212, 136, 0.4);
}

.progress-step.completed .step-circle {
    background: var(--primary-dark);
    color: white;
}

.progress-step span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    line-height: 1.2;
}

.progress-step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    height: 2px;
    flex: 1;
    background: var(--border-color);
    margin: 0 10px;
    margin-bottom: 30px;
}

.progress-step.completed + .progress-line {
    background: var(--primary-color);
}

/* Booking Steps */
.booking-steps {
    padding: 40px;
    min-height: 500px;
}

/* Location Selector */
.location-selector {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.location-selector:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(18, 212, 136, 0.15);
}

.location-selector label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.location-selector label i {
    color: var(--primary-color);
    margin-right: 8px;
}

.location-selector .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-selector .form-select:hover {
    border-color: var(--primary-color);
}

.location-selector .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(18, 212, 136, 0.1);
}

.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step-content.active {
    display: block;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.step-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Services Grid */
.category-group {
    margin-bottom: 30px;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

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

.service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: var(--primary-color);
    background: rgba(18, 212, 136, 0.05);
    box-shadow: 0 4px 12px rgba(18, 212, 136, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.service-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.service-meta .duration {
    color: var(--text-light);
}

.service-meta .price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.service-check {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card.selected .service-check {
    opacity: 1;
}

/* Repair Types Grid */
.repair-types-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.repair-type-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 3px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
    flex: 1;
    max-width: 280px;
}

.repair-type-card:nth-child(1) {
    animation-delay: 0.1s;
}

.repair-type-card:nth-child(2) {
    animation-delay: 0.2s;
}

.repair-type-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.repair-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.repair-type-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.08);
}

.repair-type-card:hover::before {
    opacity: 1;
}

.repair-type-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, rgba(18, 212, 136, 0.03), white);
    box-shadow: 0 8px 30px rgba(18, 212, 136, 0.25);
    transform: translateY(-4px);
}

.repair-type-card.selected::before {
    opacity: 1;
    background: var(--primary-color);
}

.repair-type-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.repair-type-card:hover .repair-type-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.repair-type-icon i {
    font-size: 2rem;
    color: white;
}

.repair-type-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.repair-type-card:hover .repair-type-title {
    color: var(--primary-color);
}

.repair-type-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

.repair-type-check {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.repair-type-card.selected .repair-type-check {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .repair-types-grid {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .repair-type-card {
        padding: 25px 20px;
        max-width: 100%;
    }

    .repair-type-icon {
        width: 60px;
        height: 60px;
    }

    .repair-type-icon i {
        font-size: 1.8rem;
    }

    .repair-type-title {
        font-size: 1.1rem;
    }

    .repair-type-desc {
        font-size: 0.85rem;
    }
}

/* Calendar & Timeslots */
.datetime-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.calendar-section,
.timeslots-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.month-nav {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.month-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.calendar-day.day-name {
    font-weight: 600;
    color: var(--text-light);
    cursor: default;
    font-size: 0.8rem;
}

.calendar-day.disabled {
    color: #CBD5E0;
    cursor: not-allowed;
}

.calendar-day:not(.disabled):not(.day-name):hover {
    background: var(--primary-color);
    color: white;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.calendar-day.today {
    border-color: var(--primary-color);
    font-weight: 600;
}

.timeslots-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.selected-date-info {
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.timeslots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.timeslot {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 50px;
}

.timeslot .slot-time {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.timeslot .slot-time i {
    margin-right: 6px;
}

.timeslot .slot-available {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6c757d;
}

.timeslot:hover {
    border-color: var(--primary-color);
    background: rgba(18, 212, 136, 0.1);
}

.timeslot.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.timeslot.selected .slot-available {
    color: rgba(255, 255, 255, 0.85);
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.staff-card {
    padding: 25px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.staff-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.staff-card.selected {
    border-color: var(--primary-color);
    background: rgba(18, 212, 136, 0.05);
    box-shadow: 0 4px 12px rgba(18, 212, 136, 0.2);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.staff-card.selected .staff-avatar {
    border-color: var(--primary-color);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.staff-specialty {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.staff-exp {
    font-size: 0.85rem;
    color: var(--text-light);
}

.staff-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.staff-card.selected .staff-check {
    opacity: 1;
}

/* Booking Summary */
.booking-summary-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.summary-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    height: fit-content;
}

.summary-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.summary-item .value {
    font-weight: 500;
    color: var(--text-dark);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 10px;
    border-top: 2px solid var(--primary-color);
}

.summary-total .label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.summary-total .value {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Customer Form */
.customer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(18, 212, 136, 0.1);
}

/* Invalid/Error states - soft red border */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown),
.form-group input.error,
.form-group textarea.error {
    border-color: #f8b4b4;
    background-color: #fff5f5;
}

.form-group input:invalid:not(:placeholder-shown):focus,
.form-group textarea:invalid:not(:placeholder-shown):focus,
.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #fc8181;
    box-shadow: 0 0 0 3px rgba(252, 129, 129, 0.15);
}

/* Valid state - subtle green */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #9ae6b4;
}

.form-group input.valid,
.form-group textarea.valid {
    border-color: #9ae6b4;
}

/* Buttons */
.booking-actions {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 212, 136, 0.3);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #CBD5E0;
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 212, 136, 0.4);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 40px;
    animation: fadeInUp 0.6s ease;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

.success-message h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .booking-container {
        border-radius: 15px;
    }

    .booking-header {
        padding: 20px;
    }

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

    .progress-bar {
        padding: 20px 15px;
        flex-wrap: wrap;
    }

    .progress-step {
        font-size: 0.75rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .progress-line {
        display: none;
    }

    .booking-steps {
        padding: 20px;
    }

    .step-title {
        font-size: 1.4rem;
    }

    .datetime-container,
    .booking-summary-section {
        grid-template-columns: 1fr;
    }

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

    .timeslots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-actions {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Payment Section */
.payment-section {
    max-width: 700px;
    margin: 0 auto;
}

.payment-methods-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.payment-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.payment-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(18, 212, 136, 0.05) 0%, rgba(16, 184, 116, 0.05) 100%);
}

.payment-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.payment-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.payment-check {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-card.selected .payment-check {
    opacity: 1;
}

/* PayPal Button */
#paypal-button-container {
    margin: 0 auto;
}

/* Wider payment section */
.payment-section {
    max-width: 800px;
    margin: 0 auto;
}

#payment-button-container {
    max-width: 500px;
    margin: 2rem auto 0;
}

/* Responsive Payment */
@media (max-width: 768px) {
    .payment-methods-wrapper {
        grid-template-columns: 1fr;
    }

    .payment-section {
        max-width: 100%;
    }
}

/* Location Cards */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.location-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.location-card.selected {
    border-color: var(--primary-color);
    background: rgba(18, 212, 136, 0.05);
    box-shadow: 0 4px 12px rgba(18, 212, 136, 0.2);
}

.location-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.location-info {
    flex: 1;
}

.location-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.location-check {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.location-card.selected .location-check {
    opacity: 1;
}

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

/* Brand Selection Grid */
.brand-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.brand-card {
    background: white;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    animation: brandFadeIn 0.5s ease forwards;
    opacity: 0;
}

.brand-card:nth-child(1) { animation-delay: 0.05s; }
.brand-card:nth-child(2) { animation-delay: 0.1s; }
.brand-card:nth-child(3) { animation-delay: 0.15s; }
.brand-card:nth-child(4) { animation-delay: 0.2s; }
.brand-card:nth-child(5) { animation-delay: 0.25s; }
.brand-card:nth-child(6) { animation-delay: 0.3s; }
.brand-card:nth-child(7) { animation-delay: 0.35s; }
.brand-card:nth-child(8) { animation-delay: 0.4s; }
.brand-card:nth-child(9) { animation-delay: 0.45s; }
.brand-card:nth-child(10) { animation-delay: 0.5s; }

@keyframes brandFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.brand-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(18, 212, 136, 0.05) 0%, rgba(16, 184, 116, 0.05) 100%);
    box-shadow: 0 8px 25px rgba(18, 212, 136, 0.25);
}

.brand-logo-wrapper {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.brand-card.selected .brand-logo {
    filter: grayscale(0%);
}

.brand-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-placeholder i {
    font-size: 2.5rem;
    color: #999;
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.brand-check {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s;
    transform: scale(0);
}

.brand-card.selected .brand-check {
    opacity: 1;
    transform: scale(1);
}

.selected-brand-display {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(18, 212, 136, 0.2);
}

.selected-brand-display img {
    height: 50px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.selected-brand-display .brand-info {
    flex: 1;
}

.selected-brand-display .brand-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.selected-brand-display .brand-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.selected-brand-display .change-brand-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.selected-brand-display .change-brand-btn:hover {
    background: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .brand-selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .brand-card {
        padding: 15px 10px;
    }
    
    .brand-logo-wrapper {
        height: 60px;
    }
    
    .brand-name {
        font-size: 0.8rem;
    }
}
