/* Owner Onboarding Page Styles */
/* Matches AB-House Holidays Branding */

/* Onboarding Section */
.onboarding-section {
    background: linear-gradient(135deg, var(--body-bg) 0%, var(--dark-color) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 3rem 0 8rem 0;
}

.onboarding-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
            circle at 15px 15px,
            rgba(223, 105, 26, 0.08) 2px,
            transparent 2px
        ),
        radial-gradient(
            circle at 45px 45px,
            rgba(253, 126, 20, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            45deg,
            transparent 24px,
            rgba(223, 105, 26, 0.04) 25px,
            rgba(223, 105, 26, 0.04) 26px,
            transparent 27px
        ),
        linear-gradient(
            -45deg,
            transparent 24px,
            rgba(253, 126, 20, 0.03) 25px,
            rgba(253, 126, 20, 0.03) 26px,
            transparent 27px
        );
    background-size:
        30px 30px,
        60px 60px,
        50px 50px,
        50px 50px;
    background-position:
        0 0,
        15px 15px,
        0 0,
        25px 25px;
    z-index: 1;
}

.onboarding-section .container {
    position: relative;
    z-index: 2;
}

/* Onboarding Header */
.onboarding-header h1 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.onboarding-header .lead {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Progress Bar */
.progress-container {
    max-width: 100%;
    margin: 0 auto;
}

.progress-bar-custom {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 20%;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.progress-step:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.progress-step.active {
    opacity: 1;
    cursor: default;
}

.progress-step.completed {
    opacity: 1;
    cursor: pointer;
}

.progress-step.completed:hover {
    transform: translateY(-3px);
}

.progress-step.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.progress-step:hover .step-circle {
    border-color: rgba(223, 105, 26, 0.6);
    transform: scale(1.05);
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(223, 105, 26, 0.4);
}

.progress-step.completed .step-circle {
    background: var(--success-color);
    border-color: var(--success-color);
}

.progress-step.completed:hover .step-circle {
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.step-circle i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
}

.progress-step:hover .step-label {
    color: var(--primary-color);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

.progress-step.completed .step-label {
    color: var(--success-color);
}

.progress-step.completed:hover .step-label {
    color: #20c997;
}

/* Onboarding Steps */
.onboarding-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

.step-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Selection Cards */
.selection-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.selection-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.selection-card:hover::before {
    left: 100%;
}

.selection-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.selection-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(223, 105, 26, 0.2), rgba(253, 126, 20, 0.1));
    box-shadow: 0 10px 30px rgba(223, 105, 26, 0.3);
}

.selection-card.selected::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    animation: checkMark 0.3s ease;
}

@keyframes checkMark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Card Icon */
.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.selection-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

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

.card-icon.small {
    width: 50px;
    height: 50px;
}

.card-icon.small i {
    font-size: 1.25rem;
}

.card-icon.large {
    width: 100px;
    height: 100px;
}

.card-icon.large i {
    font-size: 2.5rem;
}

.selection-card h5 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.selection-card h6 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.selection-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Compact Cards for Numbers */
.selection-card.compact {
    min-height: 120px;
    padding: 1.5rem 1rem;
}

/* Large Cards for Service Types */
.selection-card.large {
    min-height: 350px;
    padding: 3rem 2.5rem;
    text-align: left;
}

.selection-card.large h5 {
    text-align: center;
    margin-bottom: 1rem;
}

.selection-card.large p {
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.feature-list li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* Other Input Container */
.other-input-container {
    max-width: 500px;
    margin: 0 auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Summary Container */
.summary-container {
    max-width: 100%;
    margin: 0 auto;
}

.summary-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.summary-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.summary-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    min-height: 60px;
    font-weight: 500;
}

.btn-edit {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-edit:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.btn-edit i {
    margin-right: 0.5rem;
}

/* Proceed Card */
.proceed-card {
    cursor: pointer;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(223, 105, 26, 0.15), rgba(253, 126, 20, 0.1));
    border-color: var(--primary-color);
}

.proceed-card:hover {
    background: linear-gradient(135deg, rgba(223, 105, 26, 0.25), rgba(253, 126, 20, 0.15));
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(223, 105, 26, 0.3);
}

.proceed-card h5 {
    font-size: 1.75rem;
    margin-top: 1rem;
}

.proceed-card .card-icon.large {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Contact Form */
.contact-form-container {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(58, 63, 68, 0.5);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Modern Form Styles (matching bookingModal) */
.form-label-modern {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.form-label-modern i {
    opacity: 0.7;
}

.form-control-modern {
    background: rgba(43, 48, 53, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control-modern:focus {
    background: rgba(43, 48, 53, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(223, 105, 26, 0.25);
    outline: none;
    color: var(--text-light);
}

.form-control-modern::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
    font-size: 1.25rem;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

textarea.form-control-modern {
    resize: vertical;
    min-height: 120px;
}

/* Custom Checkbox Styling */
.form-check-custom {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(223, 105, 26, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(223, 105, 26, 0.3);
}

.form-check-input-custom {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.125rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    cursor: pointer;
    border-radius: 6px;
    flex-shrink: 0;
}

.form-check-input-custom:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(223, 105, 26, 0.25);
}

.form-check-label-custom {
    cursor: pointer;
    user-select: none;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.form-check-label-custom i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Submit Button Styling */
#submitBtn {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#submitBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-icon i {
    font-size: 4rem;
    color: white;
}

.success-message h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.success-message .lead {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .progress-steps {
        gap: 0.5rem;
    }

    .step-circle {
        width: 50px;
        height: 50px;
    }

    .step-circle i {
        font-size: 1.25rem;
    }

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

    .selection-card.large {
        min-height: 320px;
        padding: 2.5rem 2rem;
    }

    .contact-form-container {
        padding: 3rem 2rem;
    }

    .summary-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .onboarding-section {
        padding: 4rem 0 6rem 0;
    }

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

    .selection-card {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }

    .selection-card.compact {
        min-height: 100px;
        padding: 1.25rem 0.75rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i {
        font-size: 1.5rem;
    }

    .card-icon.large {
        width: 80px;
        height: 80px;
    }

    .card-icon.large i {
        font-size: 2rem;
    }

    .selection-card h5 {
        font-size: 1.25rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .progress-steps {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }

    .progress-step {
        flex: 0 0 auto;
        min-width: 70px;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .summary-icon {
        width: 60px;
        height: 60px;
    }

    .summary-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .step-circle {
        width: 40px;
        height: 40px;
    }

    .step-circle i {
        font-size: 1rem;
    }

    .selection-card {
        min-height: 160px;
    }

    .selection-card h5 {
        font-size: 1.1rem;
    }

    .selection-card.large {
        min-height: 280px;
    }

    .step-label {
        display: none;
    }

    .contact-form-container {
        padding: 1.5rem 1rem;
    }

    .form-label-modern {
        font-size: 0.8rem;
    }

    #submitBtn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.selection-card:focus,
.btn:focus,
.form-control-modern:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .selection-card,
    .contact-form-container {
        border: 2px solid var(--text-light);
    }

    .selection-card.selected {
        border-width: 4px;
    }
}
