/* public/css/style.css */

:root {
    --navy: #1a2a4a;
    --navy-light: #2c3e66;
    --gold: #c9a84c;
    --gold-hover: #b8973b;
    --white: #ffffff;
    --cream: #f9f8f4;
    --beige: #f1ede1;
    --gray-dark: #333333;
    --gray-medium: #777777;
    --gray-light: #e6e6e6;
    --error: #d9534f;
    --success: #5cb85c;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--gray-dark);
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--navy);
    margin-top: 0;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold-hover);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.client-header {
    background-color: var(--navy);
    color: var(--white);
    padding: 15px 0;
    border-bottom: 4px solid var(--gold);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--gold);
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
}

.logo p {
    margin: 3px 0 0 0;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.client-nav a {
    color: var(--white);
    margin-left: 20px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-nav a:hover {
    color: var(--gold);
}

/* Main Content */
.client-main {
    flex: 1;
    padding: 40px 0;
}

/* Wizard Indicators */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--gray-light);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 15px;
    text-align: center;
    color: var(--gray-medium);
    transition: all 0.3s;
}

.step .step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--gray-dark);
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step.active {
    color: var(--navy);
}

.step.active .step-number {
    background: var(--navy);
    color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.step.completed .step-number {
    background: var(--gold);
    color: var(--white);
}

.step span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Wizard Panels */
.wizard-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.wizard-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards (Treatments) */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.treatment-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.treatment-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold);
}

.tz-img-wrap {
    height: 200px;
    background: var(--beige);
    position: relative;
}

.tz-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-info {
    padding: 20px;
}

.treatment-info h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.treatment-info p {
    color: var(--gray-medium);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tz-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-light);
    padding-top: 15px;
    font-weight: 600;
    color: var(--navy);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--navy);
    color: var(--gold) !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 42, 74, 0.2);
}

.btn.btn-outline {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy) !important;
}

.btn.btn-outline:hover {
    background: var(--navy);
    color: var(--gold) !important;
}

.btn:disabled {
    background-color: var(--gray-light);
    color: var(--gray-medium) !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.3s;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Slots Grid */
.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.slot-btn {
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--navy);
    border-radius: 4px;
    color: var(--navy);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    font-weight: 600;
}

.slot-btn:hover:not(:disabled) {
    background: var(--navy);
    color: var(--white);
}

.slot-btn.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.slot-btn:disabled {
    background: var(--gray-light);
    border-color: var(--gray-light);
    color: var(--gray-medium);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Footer */
.client-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-brand h2 {
    color: var(--gold);
    margin: 0;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.footer-contact p {
    margin: 5px 0;
    text-align: right;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Layout helpers */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-actions {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--gray-light);
    padding-top: 20px;
}

.summary-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    border-left: 4px solid var(--gold);
}

.summary-box h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 10px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.summary-item {
    margin-bottom: 15px;
}

.summary-item label {
    display: block;
    color: var(--gray-medium);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.summary-item div {
    font-size: 18px;
    color: var(--navy);
    font-weight: 600;
}

/* Alert styles for client */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: #f8dbdb;
    color: var(--error);
    border: 1px solid #f5c6c6;
}

.alert-success {
    background-color: #dff0d8;
    color: var(--success);
    border: 1px solid #d6e9c6;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-steps span {
        display: none;
    }

    /* Hide labels on mobile */
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-contact p {
        text-align: center;
    }
}