/* Azia Guides v1.0.0 */

:root { --azia-green: #1a6b5a; --azia-green-light: #e8f5f0; }

.azia-guide-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* ── Form box ────────────────────────────────────────────────────────────── */

.azia-guide-form-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.azia-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--azia-green);
    margin: 0 0 6px;
}

.azia-form-subtitle {
    color: #777;
    font-size: 15px;
    margin: 0 0 28px;
}

/* ── Step header ─────────────────────────────────────────────────────────── */

.azia-step { margin-bottom: 28px; }

.azia-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--azia-green-light);
}

.azia-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--azia-green);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Form grid & fields ──────────────────────────────────────────────────── */

.azia-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.azia-field { display: flex; flex-direction: column; gap: 6px; }
.azia-field-full { grid-column: 1 / -1; }

.azia-field label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.azia-field input,
.azia-field select,
.azia-field textarea {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: #1a1a1a;
    transition: border-color .2s;
    background: #fafafa;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.azia-field input:focus,
.azia-field select:focus,
.azia-field textarea:focus {
    outline: none;
    border-color: var(--azia-green);
    background: #fff;
}

/* ── Upload area ─────────────────────────────────────────────────────────── */

.azia-upload-area {
    border: 2px dashed #cce0da;
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    position: relative;
}

.azia-upload-area:hover { border-color: var(--azia-green); background: var(--azia-green-light); }

.azia-upload-area p { margin: 10px 0 4px; font-weight: 600; color: #333; font-size: 14px; }
.azia-upload-area span { font-size: 12px; color: #888; }

.azia-upload-area input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.azia-photos-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.azia-form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.azia-btn-primary {
    background: var(--azia-green);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity .2s;
}
.azia-btn-primary:hover { opacity: .85; }
.azia-btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.azia-btn-secondary {
    background: #f5f5f5;
    color: #555;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.azia-btn-secondary:hover { background: #eee; }

.azia-btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

.azia-login-link { font-size: 13px; color: #888; margin: 0; }
.azia-login-link a { color: var(--azia-green); }

.azia-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f9fdf9;
    border: 1.5px solid #cce0da;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 8px;
    transition: background .2s;
}
.azia-terms-label:hover { background: #f0faf5; }

/* ── Notices ─────────────────────────────────────────────────────────────── */

.azia-notice {
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 20px;
}
.azia-notice-info    { background: #e8f5f0; color: #0f6e56; border: 1px solid #b2dfca; }
.azia-notice-warning { background: #fff8e1; color: #856404; border: 1px solid #ffe082; }
.azia-notice-inline  { font-size: 13px; color: #888; }

/* ── Dashboard header ────────────────────────────────────────────────────── */

.azia-dashboard-header {
    background: linear-gradient(135deg, var(--azia-green) 0%, #0f4a3d 100%);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    color: #fff;
}

.azia-guide-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.azia-guide-avatar img { width: 100%; height: 100%; object-fit: cover; }

.azia-guide-info { flex: 1; }
.azia-guide-info h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.azia-guide-info p  { margin: 0 0 8px; opacity: .85; font-size: 14px; }

.azia-guide-stats { display: flex; gap: 20px; }
.azia-stat { text-align: center; }
.azia-stat span { display: block; font-size: 28px; font-weight: 700; }
.azia-stat small { font-size: 12px; opacity: .8; }

/* ── Status badge ────────────────────────────────────────────────────────── */

.azia-status-badge {
    display: inline-block;
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ── Dashboard section ───────────────────────────────────────────────────── */

.azia-dashboard-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.azia-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--azia-green-light);
}

.azia-section-header h3 { margin: 0; font-size: 17px; color: #222; }

/* ── Empty state ─────────────────────────────────────────────────────────── */

.azia-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
}
.azia-empty-state p { font-size: 15px; margin: 10px 0 0; }

/* ── Trip cards (dashboard) ──────────────────────────────────────────────── */

.azia-trips-list { display: flex; flex-direction: column; gap: 12px; }

.azia-trip-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.azia-trip-info h4 { margin: 0 0 4px; font-size: 15px; color: #222; }
.azia-trip-info p  { margin: 0 0 4px; font-size: 13px; color: #666; }

.azia-trip-dates { color: var(--azia-green) !important; font-size: 12px !important; }
.azia-admin-note { color: #c0392b !important; font-size: 12px !important; background: #fde8e8; padding: 6px 10px; border-radius: 6px; }

.azia-trip-status { flex-shrink: 0; }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .azia-guide-form-box { padding: 20px; }
    .azia-form-grid { grid-template-columns: 1fr; }
    .azia-dashboard-header { flex-direction: column; align-items: flex-start; }
    .azia-guide-stats { margin-top: 8px; }
    .azia-trip-card { flex-direction: column; }
}

/* ── Thank you box ───────────────────────────────────────────────────────── */

.azia-thankyou-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 48px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.azia-thankyou-icon {
    font-size: 48px;
    color: var(--azia-green);
    margin-bottom: 16px;
    display: block;
}

.azia-thankyou-box h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--azia-green);
    margin: 0 0 16px;
}

.azia-thankyou-main {
    font-size: 16px;
    color: #333;
    margin: 0 0 12px;
    font-weight: 500;
}

.azia-thankyou-sub {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.azia-thankyou-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.azia-ty-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.azia-ty-step span {
    width: 40px;
    height: 40px;
    background: var(--azia-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.azia-ty-step p {
    font-size: 12px;
    color: #666;
    margin: 0;
    white-space: nowrap;
}

.azia-ty-arrow {
    color: #ccc;
    font-size: 20px;
    margin-bottom: 20px;
}

.azia-thankyou-email {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.azia-thankyou-email a {
    color: var(--azia-green);
    font-weight: 600;
}

.azia-thankyou-notice {
    background: #fff8e1;
    border: 1.5px solid #ffe082;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    color: #856404;
    margin: 0 auto 24px;
    max-width: 480px;
    line-height: 1.5;
}
