/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;
    
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    
    --orange-200: #fed7aa;
    --orange-500: #f97316;
    --orange-700: #c2410c;
    
    --yellow-400: #facc15;
    --yellow-50: #fefce8;
    --yellow-100: #fef9c3;
    --yellow-600: #ca8a04;
    --yellow-800: #854d0e;
    
    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    
    --red-500: #ef4444;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.5;
}

/* Wizard Container */
.wizard-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 768px) {
    .wizard-container {
        flex-direction: row;
    }
}

/* Sidebar */
.sidebar {
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--slate-200);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    z-index: 20;
}

@media (min-width: 768px) {
    .sidebar {
        width: 18rem;
        border-right: 1px solid var(--slate-200);
        border-bottom: none;
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
    display: none;
}

@media (min-width: 768px) {
    .sidebar-header {
        display: block;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-600);
    margin-bottom: 0.25rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--blue-600);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.logo-text {
    font-weight: bold;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
    color: var(--slate-900);
}

.sidebar-subtitle {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 500;
    padding-left: 2.5rem;
}

.sidebar-nav {
    flex: 1;
    overflow-x: auto;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

@media (min-width: 768px) {
    .sidebar-nav {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.step-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    width: 100%;
    text-align: left;
    transition: all 0.2s;
    min-width: 160px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: inherit;
}

@media (min-width: 768px) {
    .step-nav-item {
        min-width: 0;
    }
}

.step-nav-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-nav-item.active {
    background: var(--blue-50);
    color: var(--blue-700);
    box-shadow: 0 0 0 1px var(--blue-200), var(--shadow-sm);
}

.step-nav-item:not(.active) {
    color: var(--slate-500);
}

.step-nav-item:not(.active):hover:not(:disabled) {
    background: var(--slate-50);
}

.step-icon-wrapper {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.step-nav-item.active .step-icon-wrapper {
    background: var(--blue-100);
}

.step-nav-item.completed .step-icon-wrapper {
    background: var(--green-100);
    color: var(--green-600);
}

.step-nav-item:not(.active):not(.completed) .step-icon-wrapper {
    background: var(--slate-100);
}

.step-nav-content {
    display: flex;
    flex-direction: column;
}

.step-nav-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.step-nav-item.active .step-nav-title {
    color: var(--blue-900);
}

.step-nav-item:not(.active) .step-nav-title {
    color: var(--slate-700);
}

.step-nav-desc {
    font-size: 10px;
    color: var(--slate-400);
    line-height: 1.2;
    display: none;
}

@media (min-width: 768px) {
    .step-nav-desc {
        display: block;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .main-content {
        height: 100vh;
    }
}

.top-bar {
    height: 4rem;
    border-bottom: 1px solid var(--slate-200);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 1rem;
}

@media (min-width: 768px) {
    .top-bar {
        padding: 0 2rem;
    }
}

.step-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--slate-800);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

@media (min-width: 768px) {
    .step-title {
        font-size: 1.125rem;
        gap: 0.5rem;
    }
}

.separator {
    color: var(--slate-300);
    font-weight: 300;
    margin: 0 0.5rem;
    display: none;
}

@media (min-width: 640px) {
    .separator {
        display: inline;
    }
}

.step-desc {
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--slate-500);
    display: none;
}

@media (min-width: 768px) {
    .step-desc {
        font-size: 0.875rem;
        display: inline;
    }
}

.step-counter {
    font-size: 0.625rem;
    font-family: monospace;
    color: var(--slate-400);
    background: var(--slate-100);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .step-counter {
        font-size: 0.75rem;
    }
}

.form-area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    scroll-behavior: smooth;
    padding-bottom: 6rem; /* Space for bottom bar */
}

@media (min-width: 768px) {
    .form-area {
        padding: 2.5rem;
        padding-bottom: 8rem;
    }
}

.form-content {
    max-width: 48rem;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    z-index: 1;
}

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

.form-spacer {
    height: 2rem;
}

@media (min-width: 768px) {
    .form-spacer {
        height: 3rem;
    }
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--slate-200);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 -4px 20px -5px rgba(0, 0, 0, 0.05);
    gap: 1rem;
}

@media (min-width: 768px) {
    .bottom-bar {
        position: absolute;
        padding: 1.5rem 2.5rem;
    }
}

.btn-prev, .btn-next {
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-prev:focus-visible, .btn-next:focus-visible {
    outline: 2px solid var(--blue-500);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .btn-prev, .btn-next {
        padding: 0.625rem 1.5rem;
        font-size: inherit;
    }
}

.btn-prev {
    color: var(--slate-600);
    background: transparent;
}

.btn-prev:hover:not(:disabled) {
    background: var(--slate-50);
}

.btn-prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-next {
    background: var(--blue-600);
    color: white;
    font-weight: bold;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.btn-next:hover:not(:disabled) {
    background: var(--blue-700);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-next:active:not(:disabled) {
    transform: scale(0.95);
}

.btn-next:disabled {
    opacity: 0.5;
    transform: scale(1);
    cursor: not-allowed;
    background: var(--slate-300);
    box-shadow: none;
}

.btn-next:disabled:hover {
    background: var(--slate-300);
    box-shadow: none;
    transform: scale(1);
}

/* Form Components */
.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--slate-900);
    letter-spacing: -0.025em;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
}

.section-header p {
    color: var(--slate-500);
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 0.875rem;
    }
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (min-width: 768px) {
    .form-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.label {
    display: block;
    font-size: 0.8125rem;
    font-weight: bold;
    color: var(--slate-800);
    margin-bottom: 0.375rem;
    word-wrap: break-word;
    cursor: text;
    user-select: none;
}

@media (min-width: 768px) {
    .label {
        font-size: 0.875rem;
    }
}

.input-wrapper {
    position: relative;
}

.input, .textarea, .select {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-family: inherit;
    min-width: 0;
    cursor: text;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
    .input, .textarea, .select {
        font-size: inherit;
    }
}

.input:focus, .textarea:focus, .select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    outline: 2px solid var(--blue-500);
    outline-offset: 2px;
}

.input-error, .input-error:focus {
    border-color: var(--red-500) !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
    background-color: #fef2f2;
}

.input-error::placeholder {
    color: var(--red-400);
}

.input, .textarea, .select {
    position: relative;
    z-index: 2;
}

.label[for] {
    cursor: pointer;
}

.label[for]:hover {
    color: var(--blue-600);
}

.input::placeholder, .textarea::placeholder {
    color: var(--slate-300);
}

.textarea {
    resize: vertical;
    min-height: 7rem;
    max-height: 20rem;
    overflow-y: auto;
}

.card {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

@media (min-width: 768px) {
    .card {
        padding: 1.5rem;
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-800);
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--slate-100);
    margin-bottom: 1rem;
}

.card-header-icon {
    color: var(--blue-500);
}

/* Toggle Switch */
.toggle {
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.2s;
    position: relative;
    border: none;
    cursor: pointer;
    background: var(--slate-300);
}

.toggle.active {
    background: var(--blue-600);
}

.toggle-slider {
    position: absolute;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.toggle.active .toggle-slider {
    transform: translateX(1.5rem);
}

.toggle:not(.active) .toggle-slider {
    transform: translateX(0.25rem);
}

/* Button Groups */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-tag {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid;
    cursor: pointer;
    background: white;
    color: var(--slate-600);
    border-color: var(--slate-200);
}

.btn-tag:hover {
    border-color: var(--blue-300);
}

.btn-tag.active {
    background: var(--blue-600);
    color: white;
    border-color: var(--blue-600);
    box-shadow: var(--shadow-md);
}

/* Radio Options */
.radio-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-option {
    padding: 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    background: white;
}

.radio-option:hover {
    border-color: var(--blue-300);
}

.radio-option.selected {
    background: var(--blue-50);
    border-color: var(--blue-500);
    box-shadow: var(--shadow-sm);
}

.radio-option-content h4 {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.radio-option.selected .radio-option-content h4 {
    color: var(--blue-900);
}

.radio-option:not(.selected) .radio-option-content h4 {
    color: var(--slate-700);
}

.radio-option-content p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.radio-dot {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 2px solid var(--slate-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-option.selected .radio-dot {
    border-color: var(--blue-600);
    background: var(--blue-600);
}

.radio-dot-inner {
    width: 0.5rem;
    height: 0.5rem;
    background: white;
    border-radius: 50%;
    display: none;
}

.radio-option.selected .radio-dot-inner {
    display: block;
}

/* Time Input */
.time-input-wrapper {
    position: relative;
    display: inline-block;
}

.time-input {
    padding-left: 2rem;
    padding-right: 0.5rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--slate-700);
    width: 7rem;
    background: white;
    transition: all 0.2s;
}

.time-input:hover {
    border-color: var(--blue-400);
}

.time-input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    outline: none;
}

.time-icon {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    pointer-events: none;
}

/* Schedule List */
.schedule-list {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.schedule-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--slate-100);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item.closed {
    background: var(--slate-50);
    opacity: 0.7;
}

.schedule-item:not(.closed):hover {
    background: rgba(59, 130, 246, 0.1);
}

.schedule-day {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 8rem;
}

.schedule-day-name {
    text-transform: capitalize;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.schedule-times {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.schedule-closed {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-right: 1rem;
}

/* Service Packages */
.service-packages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .service-packages {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .service-packages {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    transition: all 0.2s;
    text-align: center;
    cursor: pointer;
}

.service-package-card:hover {
    border-color: var(--blue-500);
    box-shadow: var(--shadow-md);
}

.service-package-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.service-package-card:hover .service-package-icon {
    transform: scale(1.1);
}

.service-package-title {
    font-weight: bold;
    color: var(--slate-800);
    font-size: 0.875rem;
}

.service-package-desc {
    font-size: 10px;
    color: var(--slate-500);
    margin-top: 0.25rem;
}

/* Procedures List */
.procedures-list {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.procedures-header {
    padding: 1rem;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.procedures-items {
    max-height: 300px;
    overflow-y: auto;
    border-bottom: 1px solid var(--slate-100);
}

.procedure-item {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--slate-100);
}

.procedure-item:last-child {
    border-bottom: none;
}

.procedure-item:hover {
    background: var(--slate-50);
}

.procedure-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
}

.procedure-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.procedure-duration {
    font-size: 0.75rem;
    background: var(--slate-100);
    color: var(--slate-600);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.procedure-delete {
    color: var(--slate-300);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0;
    transition: all 0.2s;
}

.procedure-item:hover .procedure-delete {
    opacity: 1;
}

.procedure-delete:hover {
    color: var(--red-500);
}

.procedures-add {
    padding: 0.75rem;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.procedures-add input {
    min-width: 150px;
    flex: 1;
}

.procedures-add select {
    min-width: 100px;
}

.procedures-add button {
    min-width: 40px;
}

.procedures-add input {
    flex: 1;
    font-size: 0.875rem;
    padding: 0.5rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    outline: none;
}

.procedures-add input:focus {
    border-color: var(--blue-500);
}

.procedures-add select {
    font-size: 0.875rem;
    padding: 0.5rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    outline: none;
    background: white;
}

.procedures-add button {
    background: var(--blue-600);
    color: white;
    padding: 0 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.procedures-add button:hover {
    background: var(--blue-700);
}

/* Team Management */
.role-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--slate-50);
    padding: 0.25rem;
    border-radius: 0.5rem;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .role-tabs {
        width: fit-content;
    }
}

.role-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--slate-500);
}

.role-tab:hover {
    color: var(--slate-700);
}

.role-tab.active {
    background: white;
    color: var(--slate-900);
    box-shadow: var(--shadow-sm);
}

.team-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: end;
}

@media (min-width: 768px) {
    .team-form-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.team-form-field-5 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .team-form-field-5 {
        grid-column: span 5;
    }
}

.team-form-field-3 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .team-form-field-3 {
        grid-column: span 3;
    }
}

.team-form-field-1 {
    grid-column: span 1;
}

.team-add-btn {
    width: 100%;
    height: 50px;
    background: var(--blue-600);
    color: white;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.team-add-btn:hover:not(:disabled) {
    background: var(--blue-700);
}

.team-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.team-members {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-member-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.team-member-card:hover {
    border-color: var(--blue-300);
}

.team-member-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-member-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-details h4 {
    font-weight: bold;
    color: var(--slate-800);
    font-size: 0.875rem;
}

.team-member-details p {
    font-size: 0.75rem;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-member-delete {
    color: var(--slate-300);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
}

.team-member-card:hover .team-member-delete {
    opacity: 1;
}

.team-member-delete:hover {
    color: var(--red-500);
}

/* Follow-up Styles */
.follow-up-header {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.follow-up-icon {
    background: var(--blue-100);
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: var(--blue-600);
    flex-shrink: 0;
}

.follow-up-content h3 {
    font-weight: bold;
    color: var(--blue-900);
    font-size: 0.875rem;
}

.follow-up-content p {
    font-size: 0.75rem;
    color: var(--blue-700);
    margin-top: 0.25rem;
    line-height: 1.6;
}

.follow-up-disabled {
    opacity: 0.4;
    pointer-events: none;
}

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

@media (min-width: 768px) {
    .strategy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.strategy-card {
    position: relative;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--slate-200);
    text-align: left;
    transition: all 0.2s;
    cursor: pointer;
    background: white;
}

.strategy-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--slate-300);
}

.strategy-card.selected {
    border-color: var(--blue-500);
    background: var(--blue-50);
    box-shadow: 0 0 0 1px var(--blue-500);
}

.strategy-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strategy-card.selected .strategy-icon {
    background: var(--blue-200);
    color: var(--blue-700);
}

.strategy-card:not(.selected) .strategy-icon {
    background: var(--slate-100);
    color: var(--slate-500);
}

.strategy-card h4 {
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.strategy-card.selected h4 {
    color: var(--blue-900);
}

.strategy-card:not(.selected) h4 {
    color: var(--slate-700);
}

.strategy-card p {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
    line-height: 1.4;
}

.strategy-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--blue-500);
}

/* Preview Card */
.preview-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.preview-header {
    background: var(--slate-50);
    padding: 0.75rem;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header span:first-child {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-header span:last-child {
    font-size: 10px;
    background: var(--green-100);
    color: var(--green-700);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.preview-content {
    padding: 1.5rem;
    background: rgba(229, 221, 213, 0.3);
}

.preview-message {
    background: white;
    padding: 0.75rem;
    border-radius: 0.5rem 1rem 1rem 1rem;
    box-shadow: var(--shadow-sm);
    max-width: 90%;
    font-size: 0.875rem;
    color: var(--slate-800);
    line-height: 1.6;
    position: relative;
}

.preview-time {
    font-size: 10px;
    color: var(--slate-400);
    position: absolute;
    bottom: 0.25rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

/* Reminders Card */
.reminders-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, var(--slate-900), var(--slate-800));
    padding: 2rem;
    color: white;
    box-shadow: var(--shadow-2xl);
}

.reminders-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.reminders-hero-text {
    flex: 1;
    min-width: 0;
}

.reminders-hero h3 {
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reminders-hero-icon {
    color: var(--yellow-400);
}

.reminders-hero p {
    color: rgba(203, 213, 225, 1);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    max-width: 24rem;
    line-height: 1.6;
}

.reminders-toggle-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reminders-hero-bg-1 {
    position: absolute;
    right: -2.5rem;
    bottom: -2.5rem;
    width: 10rem;
    height: 10rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    filter: blur(4rem);
}

.reminders-hero-bg-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 5rem;
    height: 5rem;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 50%;
    filter: blur(2rem);
}

.reminders-list {
    margin-top: 1rem;
}

.reminders-list h4 {
    font-weight: bold;
    color: var(--slate-800);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.reminder-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.5rem;
}

.reminder-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--blue-500);
    flex-shrink: 0;
}

.reminder-time {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--slate-400);
    width: 4rem;
    flex-shrink: 0;
}

.reminder-text {
    font-size: 0.875rem;
    color: var(--slate-700);
}

/* File Upload */
.file-upload-area {
    margin-top: 0.5rem;
    border: 2px dashed var(--slate-300);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.file-upload-area:hover {
    background: var(--slate-50);
}

.file-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-upload-icon {
    width: 3rem;
    height: 3rem;
    background: var(--indigo-100);
    color: var(--indigo-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.file-upload-area p:first-of-type {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--slate-700);
}

.file-upload-area p:last-of-type {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
}

.file-list {
    margin-top: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 0.75rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.5rem;
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}

.file-item-icon {
    background: var(--slate-100);
    padding: 0.5rem;
    border-radius: 0.25rem;
    color: var(--slate-500);
}

.file-item-details {
    overflow: hidden;
}

.file-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-size {
    font-size: 10px;
    color: var(--slate-400);
}

.file-item-delete {
    color: var(--slate-400);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.file-item-delete:hover {
    color: var(--red-500);
}

/* Alert Box */
.alert-box {
    background: var(--yellow-50);
    border: 1px solid var(--yellow-100);
    padding: 1rem;
    border-radius: 0.75rem;
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
    text-align: left;
}

.alert-icon {
    color: var(--yellow-600);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.alert-text {
    font-size: 0.75rem;
    color: var(--yellow-800);
    line-height: 1.6;
}

/* Success Screen */
.success-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--blue-50) 100%);
    position: relative;
    overflow: hidden;
}

.success-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.success-screen::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, 20px) rotate(5deg);
    }
}

.success-screen.hidden {
    display: none;
}

.success-card {
    background: white;
    width: 100%;
    max-width: 42rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    animation: zoomIn 0.5s ease-out;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .success-card {
        padding: 3rem;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    animation: successPulse 2s ease-in-out infinite;
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.3);
    border: 4px solid var(--green-100);
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px -5px rgba(34, 197, 94, 0.4);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.success-card h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .success-card h2 {
        font-size: 1.875rem;
    }
}

.success-message {
    font-size: 1rem;
    color: var(--slate-700);
    max-width: 32rem;
    margin: 0 auto 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.success-submessage {
    font-size: 0.9375rem;
    color: var(--slate-500);
    max-width: 32rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .success-message {
        font-size: 1.125rem;
    }
    
    .success-submessage {
        font-size: 1rem;
    }
}

.success-cta-box {
    background: linear-gradient(135deg, var(--blue-50), var(--indigo-50));
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 32rem;
    border: 2px solid var(--blue-200);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.success-cta-text {
    font-size: 1rem;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.success-cta-text strong {
    color: var(--blue-700);
}

.success-cta-subtext {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 640px) {
    .success-cta-text {
        font-size: 1.125rem;
    }
    
    .success-cta-subtext {
        font-size: 0.9375rem;
    }
}

.success-info {
    background: var(--slate-50);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 32rem;
    border: 1px solid var(--slate-200);
}

.success-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.success-info-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.success-info-text {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .success-info-text {
        font-size: 0.9375rem;
    }
}

.highlight {
    color: var(--blue-600);
    font-weight: bold;
}

.progress-container {
    background: var(--slate-50);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 24rem;
    margin: 0 auto 2rem;
    border: 1px solid var(--slate-100);
}

.progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 0.5rem;
}

.progress-value {
    font-weight: bold;
    color: var(--green-600);
}

.progress-bar {
    height: 0.5rem;
    width: 100%;
    background: var(--slate-200);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 100%;
    background: var(--green-500);
    border-radius: 9999px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
}

@media (min-width: 640px) {
    .success-actions {
        flex-direction: row;
        gap: 1rem;
    }
}

.btn-primary, .btn-secondary {
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: bold;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .btn-primary, .btn-secondary {
        width: auto;
        padding: 1rem 2rem;
        font-size: inherit;
    }
}

.btn-primary {
    background: var(--blue-600);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--slate-100);
    color: var(--slate-600);
}

.btn-secondary:hover {
    background: var(--slate-200);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    border: 2px dashed var(--slate-200);
    border-radius: 0.75rem;
    color: var(--slate-400);
    font-size: 0.875rem;
    font-style: italic;
}

.badge {
    background: var(--blue-100);
    color: var(--blue-700);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Responsive adjustments */
@media (max-width: 767px) {
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .step-nav-desc {
        display: none;
    }
    
    .form-content {
        padding: 0;
    }
    
    .main-content {
        height: calc(100vh - 60px);
    }
    
    .card {
        padding: 1rem;
    }
    
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .schedule-day {
        width: 100%;
    }
    
    .schedule-times {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .reminders-hero {
        padding: 1.5rem;
    }
    
    .reminders-hero-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .reminders-toggle-wrapper {
        align-self: flex-start;
        margin-top: 0.25rem;
    }
    
    .follow-up-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .preview-card {
        margin-top: 1rem;
    }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .sidebar {
        width: 16rem;
    }
    
    .form-content {
        max-width: 42rem;
    }
    
    .service-packages {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .strategy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

