:root {
    --bg-dark: #0B1220;
    --card-bg: rgba(11, 18, 32, 0.65);
    --card-border: #2DD4BF;
    --accent-lime: #A3E635;
    --accent-mint: #2DD4BF;
    --accent-yellow: #FFF000;
    --text-color: #E5E7EB;
    --font-family: 'Inter', sans-serif;
    --font-header: 'Space Grotesk', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(45, 212, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(163, 230, 53, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: var(--font-header);
    background: linear-gradient(90deg, var(--accent-mint) 0%, var(--accent-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.4));
}

#app {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-toggle-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.2);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-mint);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.app-header {
    margin-bottom: 2.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-header);
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.progress-container {
    position: relative;
    margin-bottom: 2rem;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background: var(--accent-lime);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-lime);
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-dot.active {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.4);
}

.step-dot.completed {
    background: var(--accent-lime);
    color: var(--bg-dark);
    border-color: var(--accent-lime);
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 30px rgba(45, 212, 191, 0.1);
}

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

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

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

.accordion {
    margin-bottom: 0.5rem;
}


.accordion-header {
    padding: 1.25rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    font-family: var(--font-header);
    color: var(--accent-mint);
    background: rgba(11, 18, 32, 0.7);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 6px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
}

.accordion-header:hover {
    background: rgba(45, 212, 191, 0.1);
    border-color: var(--accent-mint);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.2);
    color: var(--accent-lime);
}

.accordion.open .accordion-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: rgba(45, 212, 191, 0.15);
    border-color: var(--accent-mint);
}
.accordion-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.accordion.open .accordion-content {
    padding: 1.5rem 1rem;
    max-height: 1500px;
}

.policy-highlight {
    background: rgba(45, 212, 191, 0.1);
    border-left: 4px solid var(--accent-mint);
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-top: 1rem;
}

.checkbox-container input {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-lime);
}

.btn {
    background: var(--accent-lime);
    color: var(--bg-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-header);
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover:not(:disabled) {
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline {
    background: transparent;
    color: var(--accent-mint);
    border: 1px solid var(--accent-mint);
}

.btn-outline:hover {
    background: rgba(45, 212, 191, 0.1);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
}

.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent-lime);
    background: rgba(163, 230, 53, 0.05);
}

.drop-zone ul {
    text-align: left;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.file-list {
    margin-bottom: 1.5rem;
}

.info-panel {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.signature-pad {
    width: 100%;
    height: 200px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 1rem;
    cursor: crosshair;
}

.hidden {
    display: none !important;
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 18, 32, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table th {
    color: var(--accent-mint);
    font-family: var(--font-header);
}

.admin-progress {
    height: 6px;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    margin-bottom: 0.25rem;
    width: 100px;
}

.admin-progress > div {
    height: 100%;
    background: var(--accent-lime);
    border-radius: 3px;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-success {
    background: rgba(163, 230, 53, 0.2);
    color: var(--accent-lime);
}

.badge-warning {
    background: rgba(255, 165, 0, 0.2);
    color: orange;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-mint) 0%, var(--accent-lime) 50%, var(--accent-yellow) 100%);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0.5rem;
}

.timeline-dot {
    position: absolute;
    left: -2.35rem;
    top: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-mint);
    color: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: var(--font-header);
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.2);
}

.timeline-item:hover .timeline-dot {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.6);
    transform: scale(1.1);
}

.timeline-content-block {
    background: rgba(11, 18, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.timeline-item:hover .timeline-content-block {
    border-color: var(--accent-mint);
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.1);
    background: rgba(11, 18, 32, 0.6);
}

.timeline-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header-inline h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    background: linear-gradient(90deg, #ffffff 0%, var(--accent-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

.timeline-item:hover .timeline-header-inline h3 {
    background: linear-gradient(90deg, var(--accent-mint) 0%, var(--accent-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-time {
    font-family: var(--font-header);
    font-size: 0.8rem;
    color: var(--accent-lime);
    background: rgba(163, 230, 53, 0.1);
    border: 1px solid rgba(163, 230, 53, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #a0abb7;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.timeline-tasks {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0.25rem;
}

.timeline-tasks li {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.timeline-tasks li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-mint);
    font-weight: bold;
}

.timeline-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tag-collab {
    background: rgba(255, 240, 0, 0.1);
    color: var(--accent-yellow);
    border: 1px solid rgba(255, 240, 0, 0.2);
}

.tag-client {
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent-mint);
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.tag-studio {
    background: rgba(163, 230, 53, 0.1);
    color: var(--accent-lime);
    border: 1px solid rgba(163, 230, 53, 0.2);
}

.timeline-gate {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.timeline-gate-warning {
    font-size: 0.75rem;
    color: #f59e0b;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Onboarding Stepper Header Progress Bar & Dots */
.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 250px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: absolute;
    top: 13px;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-mint) 0%, var(--accent-lime) 100%);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.5);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    font-family: var(--font-header);
    transition: all 0.3s ease;
    cursor: default;
}

.step-dot.active {
    border-color: var(--accent-mint);
    color: var(--accent-mint);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.4);
    transform: scale(1.1);
}

.step-dot.completed {
    border-color: var(--accent-lime);
    color: var(--bg-dark);
    background: var(--accent-lime);
    box-shadow: 0 0 10px rgba(163, 230, 53, 0.4);
}

/* Stepper Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
}

.form-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.25);
    background: rgba(0, 0, 0, 0.5);
}

.form-error {
    font-size: 0.8rem;
    color: #ef4444;
    display: none;
    margin-top: 0.25rem;
}

.form-error.active {
    display: block;
}

/* File Uploader Dropzone */
.upload-dropzone {
    border: 2px dashed rgba(45, 212, 191, 0.3);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(45, 212, 191, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--accent-mint);
    background: rgba(45, 212, 191, 0.05);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.1) inset;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #cbd5e1;
    animation: fadeIn 0.3s ease;
}

.file-name {
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0.25rem;
}

.file-remove:hover {
    color: #f87171;
}

/* Date Picker adjustments */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(130deg);
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

