:root {
    --bg-primary: #0f172a;
    --bg-secondary: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --success: #10b981;
    --danger: #ef4444;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background animated shapes for premium feel */
.background-shapes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}
.shape-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, #3b82f6 0%, transparent 70%); }
.shape-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, #8b5cf6 0%, transparent 70%); animation-delay: -5s; }
.shape-3 { top: 40%; left: 40%; width: 30vw; height: 30vw; background: radial-gradient(circle, #10b981 0%, transparent 70%); animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 40px;
}
header h1 {
    font-size: 42px;
    margin: 0;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
header p {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 10px;
}

/* Form & Steps */
.form-container {
    background: var(--bg-secondary);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}
.step.active {
    display: block;
}
.step.disabled {
    opacity: 0.4;
    pointer-events: none;
    display: none;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header { margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.step-header h2 { margin: 0 0 5px 0; font-size: 22px; font-weight: 600; }
.step-header p { margin: 0; color: var(--text-muted); font-size: 14px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: #e2e8f0; }

input[type="text"], input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }

/* File Upload */
.file-upload-wrapper { position: relative; width: 100%; height: 120px; }
.file-input { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.file-upload-design {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed var(--border);
    border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: var(--text-muted);
}
.file-input:hover + .file-upload-design { border-color: var(--accent); color: var(--accent); }
.file-upload-design svg { width: 32px; height: 32px; margin-bottom: 10px; }
.file-upload-design span { font-size: 14px; text-align: center; padding: 0 10px; }
.file-upload-wrapper.has-file .file-upload-design { border-style: solid; border-color: var(--success); color: var(--success); background: rgba(16, 185, 129, 0.1); }

/* Buttons */
.step-footer { display: flex; justify-content: space-between; margin-top: 30px; gap: 15px; }
.btn {
    padding: 14px 24px;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.btn .arrow { margin-left: 8px; transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

.next-btn, .submit-btn { background: var(--accent); color: white; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
.next-btn:hover, .submit-btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); flex: 0.5; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* Date Pills */
.date-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.date-pill {
    background: rgba(0,0,0,0.3); border: 1px solid var(--border);
    color: white; padding: 12px 16px; border-radius: 10px;
    cursor: pointer; font-family: inherit; font-size: 14px;
    transition: all 0.2s ease;
}
.date-pill:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.date-pill.selected { background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); }

/* Slots Grid */
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.slot-btn {
    padding: 12px; border-radius: 10px; border: 1px solid; cursor: pointer;
    font-family: inherit; font-size: 14px; font-weight: 500; text-align: center;
    transition: all 0.2s ease;
    background: rgba(0,0,0,0.3);
}
.slot-btn.available {
    border-color: rgba(16, 185, 129, 0.4); color: #34d399;
}
.slot-btn.available:hover {
    background: rgba(16, 185, 129, 0.1); border-color: var(--success);
}
.slot-btn.available.selected {
    background: var(--success); color: white; border-color: var(--success);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.slot-btn.full {
    border-color: rgba(239, 68, 68, 0.3); color: #f87171;
    opacity: 0.6; cursor: not-allowed;
    background: rgba(239, 68, 68, 0.05);
}

.loading { color: var(--text-muted); font-size: 14px; text-align: center; padding: 20px 0; }

/* Success Message */
.success-message { text-align: center; padding: 20px 0; }
.icon-circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; border: 2px solid var(--success);
}
.icon-circle svg { width: 40px; height: 40px; }
.success-message h2 { margin: 0 0 10px 0; color: white; }
.success-message p { color: var(--text-muted); }
.mt-20 { margin-top: 20px; }

/* Toast */
.error-toast {
    position: fixed; top: 20px; right: 20px;
    background: #ef4444; color: white; padding: 12px 20px;
    border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 14px; font-weight: 500;
    transform: translateX(150%); transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}
.error-toast.show { transform: translateX(0); }

/* Responsive */
@media (max-width: 480px) {
    .container { padding: 15px; }
    .form-container { padding: 20px; border-radius: 20px; }
    header h1 { font-size: 32px; }
    .btn { padding: 12px 16px; font-size: 14px; }
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
}
