@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* --- GLOBAL RESET --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    background-color: #f1f5f9;
    height: 100vh;
    display: flex;
}

.onboarding-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    height: 80px; /* Eto size ng SCRUB logo area */
    display: flex;
    align-items: center;
    padding: 0 30px;
    font-size: 32px;
    font-weight: 800;
    color: #004aad;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    color: #004aad;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.sidebar-nav a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.sidebar-nav a.disabled {
    color: #94a3b8;
    opacity: 0.6;
    pointer-events: none;
}

.sidebar-nav hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 15px 30px;
}

/* Main Content Layout */
.main-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* --- Sidebar Brand Area --- */
.sidebar-brand {
    height: 80px; /* Eto size ng SCRUB logo area */
    display: flex;
    align-items: center;
    padding: 0 30px;
    font-size: 32px;
    font-weight: 800;
    color: #004aad;
    border-bottom: 1px solid #e2e8f0;
}


.top-bar {
    height: 80px; 
    width: 100%;
    display: flex;
    background-color: white; 
}


.header-blue-fill {
    background-color: #004aad;
    flex: 1; 
    height: 80px; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
}


.header-blue-fill span {
    color: transparent; 
    user-select: none;  
}


.burger-menu {
    display: none;
}

.content-wrapper {
    padding: 40px;
}

/* Centers the onboarding content and keeps it from stretching
   edge-to-edge on wide screens, with equal breathing room on
   both sides. */
.page-center {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

h1 {
    color: #004aad;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Only one column is actually used in the markup (.left-column),
   so this is now a simple block wrapper instead of a 2-column
   grid with an empty 300px side that pushed everything off-center. */
.grid-layout {
    display: block;
}

.left-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Card Styling */
.card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-body-row {
    display: flex;
    gap: 15px;
    padding: 20px;
}


.upload-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.upload-box {
    flex: 1;
}

.upload-box-small {
    flex: 1;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

.drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px 15px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
}

.drop-zone i {
    font-size: 28px;
    color: #004aad;
}

.drop-zone.small {
    padding: 15px;
}

/* Description Area */
.description-area {
    width: 100%;
}

.description-area textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    font-size: 13px;
    resize: none;
    outline: none;
    background: #fff;
    display: block;
}

.description-area textarea:focus {
    border-color: #004aad;
    box-shadow: 0 0 5px rgba(0,74,173,0.1);
}


.status-banner {
    background: #fef9c3;
    border: 1px solid #fde047;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: #854d0e;
    font-size: 14px;
}

.gold {
    color: #ca8a04;
    font-size: 18px;
}

.gold-text {
    color: #854d0e;
}

.status-banner.success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.status-banner.danger {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.green {
    color: #16a34a;
    font-size: 18px;
}

.green-text {
    color: #166534;
}

.red {
    color: #dc2626;
    font-size: 18px;
}

.red-text {
    color: #991b1b;
}

.small-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

.status-item {
    display: flex;
    gap: 10px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    text-align: center;
}

.btn-primary {
    background: #004aad;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: auto;
    min-width: 220px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #004aad;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: auto;
    min-width: 220px;
}

.placeholder-text {
    padding: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    background: #f8fafc;
}

/* Additional Styles */
.location-display {
    background: #f0f7ff;
    border-left: 4px solid #004aad;
    padding: 10px 15px;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 10px;
    border-radius: 4px;
}

input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #e2e8f0; 
    border-radius: 6px; 
    font-size: 13px;
}


.main-content::-webkit-scrollbar {
    width: 6px;
}
.main-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}


.sidebar-nav {
    flex: 1;
    overflow-y: auto;
}


.sidebar-brand, .top-bar {
    border-bottom: 1px solid #e2e8f0;
}


.btn-primary, .drop-zone {
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background: #003a8c;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* --- STEP WIZARD --- */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.stepper-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #f1f5f9;
    transition: all 0.2s ease-in-out;
}

.stepper-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 8px;
    text-align: center;
    max-width: 90px;
    line-height: 1.3;
}

.stepper-item.active .stepper-circle {
    background: #004aad;
    color: white;
}

.stepper-item.active .stepper-label {
    color: #004aad;
}

.stepper-item.completed .stepper-circle {
    background: #16a34a;
    color: white;
}

.stepper-item.completed .stepper-label {
    color: #16a34a;
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}

.step-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.step-nav-buttons .btn-outline,
.step-nav-buttons .btn-primary {
    min-width: 140px;
}

.step-nav-buttons .spacer {
    flex: 1;
}

.step-counter {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 15px;
}

@media (max-width: 640px) {
    .stepper-label {
        display: none;
    }
}