/**
 * GSH Submit Listing Wizard — Styles
 * 10-Step Property Submission Interface
 */

/* ============================
   WIZARD WRAPPER
   ============================ */
.gsh-wizard-wrap {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(11,25,44,0.10);
    overflow: hidden;
    margin: 0 auto;
    max-width: 900px;
}

/* ============================
   PROGRESS BAR
   ============================ */
.gsh-wizard-progress {
    background: #0b192c;
    padding: 24px 32px 0;
    position: relative;
}
.gsh-wizard-progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #c5a880, #e8c99a);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
    margin-bottom: 20px;
}
.gsh-wizard-steps-nav {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
    overflow-x: auto;
    gap: 4px;
    scrollbar-width: none;
}
.gsh-wizard-steps-nav::-webkit-scrollbar { display: none; }

.wizard-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 60px;
    padding: 8px 4px 14px;
    border-radius: 12px 12px 0 0;
    transition: background 0.2s;
    position: relative;
}
.wizard-step-dot .step-icon { font-size: 18px; margin-bottom: 4px; }
.wizard-step-dot .step-label { font-size: 10px; color: rgba(255,255,255,0.5); text-align: center; white-space: nowrap; }
.wizard-step-dot .step-number { display: none; }
.wizard-step-dot.active { background: rgba(197,168,128,0.15); }
.wizard-step-dot.active .step-label { color: #c5a880; font-weight: 600; }
.wizard-step-dot.completed .step-icon::after { content: '✓'; position: absolute; top: 4px; right: 8px; background: #22c55e; color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.wizard-step-dot.completed .step-label { color: rgba(255,255,255,0.6); }

/* ============================
   STEP BODY
   ============================ */
.gsh-wizard-step {
    padding: 40px 40px 20px;
    animation: stepFadeIn 0.3s ease;
}
@keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.gsh-wizard-step-header {
    margin-bottom: 32px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
}
.gsh-wizard-step-header h2 {
    font-family: 'Outfit', sans-serif;
    color: #0b192c;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}
.gsh-wizard-step-header p {
    color: #64748b;
    margin: 0;
    font-size: 15px;
}

/* ============================
   FORM FIELDS
   ============================ */
.gsh-field-group {
    margin-bottom: 22px;
}
.gsh-field-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 14px;
}
.gsh-input, .gsh-select, .gsh-textarea {
    width: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.gsh-input:focus, .gsh-select:focus, .gsh-textarea:focus {
    outline: none;
    border-color: #c5a880;
    box-shadow: 0 0 0 3px rgba(197,168,128,0.15);
}
.gsh-textarea { resize: vertical; min-height: 120px; }
.gsh-field-help {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}
.gsh-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 600px) {
    .gsh-field-row { grid-template-columns: 1fr; }
}

/* ============================
   TYPE CARD GRID
   ============================ */
.gsh-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}
.gsh-type-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
}
.gsh-type-card:hover {
    border-color: #c5a880;
    background: #fdf8f1;
    transform: translateY(-2px);
}
.gsh-type-card.selected {
    border-color: #c5a880;
    background: linear-gradient(135deg, #fdf8f1, #fef3e2);
    box-shadow: 0 4px 12px rgba(197,168,128,0.25);
}
.gsh-type-card .type-icon { display: block; font-size: 24px; margin-bottom: 6px; }
.gsh-type-card .type-label { font-size: 12px; font-weight: 600; color: #1e293b; line-height: 1.3; }

/* ============================
   AREA MEASUREMENT TABS
   ============================ */
.gsh-area-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.gsh-area-tab {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}
.gsh-area-tab.active {
    border-color: #c5a880;
    background: #c5a880;
    color: #fff;
}
.gsh-area-conversion-preview {
    background: linear-gradient(135deg, #0b192c, #1a3050);
    color: #c5a880;
    border-radius: 12px;
    padding: 16px 20px;
    font-family: monospace;
    font-size: 14px;
    margin-top: 16px;
    display: none;
}
.gsh-area-conversion-preview.visible { display: block; }

/* ============================
   PRICE INPUT
   ============================ */
.gsh-price-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.gsh-price-input-wrap:focus-within {
    border-color: #c5a880;
    box-shadow: 0 0 0 3px rgba(197,168,128,0.15);
}
.gsh-price-prefix {
    padding: 12px 16px;
    background: #f1f5f9;
    font-weight: 700;
    color: #c5a880;
    font-size: 16px;
    border-right: 2px solid #e2e8f0;
}
.gsh-price-input {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
}
.gsh-price-preview {
    margin-top: 10px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0b192c, #1e3a5f);
    border-radius: 8px;
    color: #c5a880;
    font-weight: 700;
    font-size: 16px;
    display: none;
}

/* ============================
   RADIO GROUP
   ============================ */
.gsh-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.gsh-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #1e293b;
}
.gsh-radio-label input[type="radio"] { accent-color: #c5a880; }

/* ============================
   AMENITIES GRID
   ============================ */
.gsh-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.gsh-amenity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
    text-align: center;
}
.gsh-amenity-card input { display: none; }
.gsh-amenity-card .amenity-icon { font-size: 22px; margin-bottom: 6px; }
.gsh-amenity-card .amenity-label { font-size: 12px; font-weight: 600; color: #64748b; }
.gsh-amenity-card:hover, .gsh-amenity-card.checked {
    border-color: #c5a880;
    background: #fdf8f1;
}
.gsh-amenity-card.checked { box-shadow: 0 4px 12px rgba(197,168,128,0.2); }
.gsh-amenity-card.checked .amenity-label { color: #c5a880; }

/* ============================
   PHOTO UPLOAD
   ============================ */
.gsh-upload-zone {
    border: 2px dashed #c5a880;
    border-radius: 16px;
    background: #fdf8f1;
    text-align: center;
    padding: 40px 24px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}
.gsh-upload-zone.drag-over {
    background: #fef3e2;
    border-color: #0b192c;
    transform: scale(1.01);
}
.gsh-upload-zone .upload-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.gsh-upload-zone h3 { color: #0b192c; margin: 0 0 8px; font-family: 'Outfit', sans-serif; }
.gsh-upload-zone p { color: #94a3b8; margin: 0 0 20px; }

.gsh-uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.gsh-image-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 2px solid #e2e8f0;
    transition: border-color 0.2s;
}
.gsh-image-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gsh-image-thumb.cover { border-color: #c5a880; }
.cover-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #c5a880;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.gsh-remove-image, .gsh-set-cover {
    position: absolute;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}
.gsh-image-thumb:hover .gsh-remove-image,
.gsh-image-thumb:hover .gsh-set-cover { opacity: 1; }
.gsh-remove-image { top: 6px; right: 6px; }
.gsh-set-cover { bottom: 6px; left: 6px; font-size: 10px; }

.gsh-upload-progress {
    margin-top: 16px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px 16px;
}
.upload-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c5a880, #e8c99a);
    border-radius: 4px;
    transition: width 0.3s;
}

/* ============================
   DOCUMENT UPLOAD
   ============================ */
.gsh-doc-notice {
    background: linear-gradient(135deg, #0b192c10, #0b192c05);
    border: 1px solid #0b192c20;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #1e293b;
    font-size: 14px;
}
.gsh-doc-upload-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 16px;
    flex-wrap: wrap;
}
.gsh-doc-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.gsh-doc-info .doc-icon { font-size: 22px; }
.gsh-doc-info .doc-label { font-weight: 600; color: #1e293b; font-size: 14px; }
.gsh-doc-upload-btn { display: flex; align-items: center; gap: 12px; }
.gsh-doc-uploaded-name { font-size: 12px; color: #22c55e; font-weight: 500; }
.gsh-doc-optional-note { text-align: center; color: #94a3b8; font-size: 13px; margin-top: 20px; }

/* ============================
   REVIEW PANEL (Step 10)
   ============================ */
.gsh-review-panel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    min-height: 120px;
}
.gsh-review-loading { color: #94a3b8; text-align: center; padding: 30px; }
.gsh-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.gsh-review-item label { font-size: 11px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.gsh-review-item span { font-weight: 600; color: #1e293b; font-size: 15px; }

.gsh-submit-terms {
    margin-bottom: 24px;
}
.gsh-submit-section {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.gsh-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}
.gsh-submit-notice {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 14px 18px;
    color: #0369a1;
    font-size: 13px;
    line-height: 1.6;
}

/* ============================
   WIZARD NAVIGATION FOOTER
   ============================ */
.gsh-wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px 32px;
    background: #f8fafc;
    border-top: 2px solid #f1f5f9;
}
.gsh-wizard-step-counter {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #64748b;
    font-size: 18px;
}

/* ============================
   SAVING INDICATORS
   ============================ */
.gsh-wizard-saving,
.gsh-wizard-saved {
    text-align: center;
    padding: 8px;
    font-size: 13px;
    background: #f8fafc;
}
.gsh-wizard-saving { color: #94a3b8; }
.gsh-wizard-saved { color: #22c55e; font-weight: 600; }
.gsh-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #e2e8f0;
    border-top-color: #c5a880;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================
   SUBMIT TIPS BOX
   ============================ */
.gsh-submit-tips {
    background: linear-gradient(135deg, #0b192c, #1e3a5f);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
    color: #fff;
}
.gsh-submit-tips h3 {
    color: #c5a880;
    font-family: 'Outfit', sans-serif;
    margin: 0 0 16px;
    font-size: 18px;
}
.gsh-submit-tips ul { margin: 0; padding-left: 20px; }
.gsh-submit-tips li { margin-bottom: 8px; color: rgba(255,255,255,0.85); font-size: 14px; }

/* ============================
   AGENT REGISTRATION PAGE
   ============================ */
.gsh-register-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    align-items: start;
}
@media (max-width: 768px) {
    .gsh-register-layout { grid-template-columns: 1fr; }
}
.gsh-register-benefits-card {
    background: linear-gradient(135deg, #0b192c, #1e3a5f);
    border-radius: 20px;
    padding: 32px 24px;
    color: #fff;
    position: sticky;
    top: 100px;
}
.gsh-register-benefits-card h3 {
    color: #c5a880;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    margin: 0 0 20px;
}
.gsh-benefits-list { list-style: none; padding: 0; margin: 0 0 24px; }
.gsh-benefits-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}
.benefit-icon { flex-shrink: 0; font-size: 16px; }
.gsh-register-contact { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; }
.gsh-register-contact h4 { color: #c5a880; margin: 0 0 12px; }
.gsh-contact-link {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.2s;
}
.gsh-contact-link:hover { color: #c5a880; }

.gsh-register-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(11,25,44,0.08);
}
.gsh-register-form h2 {
    font-family: 'Outfit', sans-serif;
    color: #0b192c;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 28px;
}
.gsh-role-selector { margin-bottom: 28px; }
.gsh-role-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}
@media (max-width: 500px) { .gsh-role-cards { grid-template-columns: 1fr; } }
.gsh-role-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8fafc;
}
.gsh-role-card input { display: none; }
.gsh-role-card.active {
    border-color: #c5a880;
    background: #fdf8f1;
    box-shadow: 0 4px 16px rgba(197,168,128,0.2);
}
.gsh-role-card .role-icon { font-size: 32px; margin-bottom: 8px; }
.gsh-role-card .role-title { font-weight: 700; color: #0b192c; margin-bottom: 6px; font-size: 14px; }
.gsh-role-card .role-desc { font-size: 12px; color: #94a3b8; line-height: 1.4; }

.gsh-password-wrap { position: relative; display: flex; }
.gsh-password-wrap .gsh-input { padding-right: 48px; }
.gsh-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #94a3b8;
    padding: 4px;
}
.gsh-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    line-height: 1.5;
}
.gsh-checkbox-label input { margin-top: 2px; accent-color: #c5a880; flex-shrink: 0; }
.gsh-checkbox-label a { color: #c5a880; }
.gsh-btn-full { width: 100%; }
.gsh-register-login-link {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 14px;
}
.gsh-register-login-link a { color: #c5a880; font-weight: 600; }

/* ============================
   AUTH NOTICE
   ============================ */
.gsh-auth-notice {
    background: #fff;
    padding: 48px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 500px;
    margin: 40px auto;
}
.gsh-auth-notice.gsh-notice-error { border: 2px solid #fecdd3; background: #fff5f5; }
.gsh-auth-notice .dashicons { font-size: 48px; color: #c5a880; display: block; margin-bottom: 16px; }
.gsh-auth-notice h2 { color: #0b192c; margin: 0 0 12px; }
.gsh-auth-notice p { color: #64748b; margin-bottom: 24px; line-height: 1.6; }

/* ============================
   HERO STYLES
   ============================ */
.gsh-submit-hero, .gsh-register-hero {
    background: linear-gradient(135deg, #0b192c 0%, #1e3a5f 60%, #0b192c 100%);
    padding: 60px 0 50px;
}
.gsh-submit-hero .gsh-page-hero-content,
.gsh-register-hero .gsh-page-hero-content {
    max-width: 700px;
}
.gsh-submit-hero h1, .gsh-register-hero h1 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin: 12px 0 16px;
}
.gsh-submit-hero p, .gsh-register-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    margin: 0;
    line-height: 1.6;
}

/* ============================
   NOTICE / ALERTS
   ============================ */
.gsh-notice {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}
.gsh-notice-error {
    background: #fff5f5;
    border: 1px solid #fecdd3;
    color: #991b1b;
}
.gsh-notice strong { display: block; margin-bottom: 8px; }
.gsh-notice ul { margin: 8px 0 0 16px; padding: 0; }
.gsh-notice ul li { margin-bottom: 4px; }

/* ============================
   SUBMIT WIZARD CONTAINER
   ============================ */
.gsh-submit-wizard-container {
    max-width: 920px;
    margin: 0 auto;
}
