/*
 * Highbrook Homes Portal - Customer Portal Specific Styles
 * Only used by: Customer Portal
 */

/* ========================================
   BUTTON OVERRIDES (to match build portal style)
   ======================================== */

.btn-primary {
    width: 100%;
    padding: 18px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
}

/* ========================================
   INFO NOTICE SPACING
   ======================================== */

.info-notice {
    margin-bottom: 20px;
}

/* ========================================
   CUSTOMER DASHBOARD LAYOUT
   ======================================== */

body.customer-page {
    background: linear-gradient(to bottom right, var(--gradient-start) 0%, var(--gradient-end) 100%);
    min-height: 100vh;
    padding: 20px;
}

/* ========================================
   DASHBOARD HEADER
   ======================================== */

.header.customer-header {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.header-actions form {
    margin: 0;
}

/* ========================================
   INFO GRID (for plot/development information)
   ======================================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.info-value {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
}

/* ========================================
   STATUS BADGES (for plot/development status)
   ======================================== */

.status-available {
    background: var(--accent-green);
    color: #1a5214;
}

.status-reserved {
    background: var(--accent-orange);
    color: #6b4a04;
}

.status-sold {
    background: var(--accent-blue);
    color: #0d3a6b;
}

.status-foundation {
    background: var(--accent-blue);
    color: #0d3a6b;
}

.status-framing {
    background: var(--accent-orange);
    color: #6b4a04;
}

.status-completed {
    background: var(--accent-green);
    color: #1a5214;
}

.status-active {
    background: var(--accent-blue);
    color: #0d3a6b;
}

.status-planning {
    background: var(--accent-orange);
    color: #6b4a04;
}

/* ========================================
   NO PLOT MESSAGE
   ======================================== */

.no-plot-message {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 30px;
}

.no-plot-message .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-plot-message h3 {
    color: var(--text-primary);
    font-size: 22px;
    margin-bottom: 10px;
}

.no-plot-message p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* ========================================
   COMING SOON PAGE
   ======================================== */

.coming-soon-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.icon {
    font-size: 72px;
    margin-bottom: 30px;
}

.launch-date {
    background: linear-gradient(to bottom right, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 30px;
}

.features {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.features h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.features li:before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

.contact-info {
    background: #edf2f7;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   ERROR PAGE
   ======================================== */

.error-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.error-container h1 {
    color: #c53030;
    font-size: 26px;
    margin-bottom: 15px;
}

.error-message {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.error-details {
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    padding: 15px;
    margin-bottom: 30px;
    text-align: left;
    border-radius: var(--radius-sm);
}

.error-details p {
    color: #742a2a;
    font-size: 14px;
    line-height: 1.6;
}

.btn-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-container .btn {
    flex: 1;
}

/* ========================================
   WELCOME BACK PAGE
   ======================================== */

.welcome-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.customer-name {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.different-email-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s;
}

.different-email-link:hover {
    color: var(--gradient-start);
    text-decoration: underline;
}

/* ========================================
   MAGIC LINK INFO
   ======================================== */

.magic-link-info {
    background: #edf2f7;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    text-align: left;
}

.magic-link-info h4 {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.magic-link-info ul {
    margin-left: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .header.customer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-content h1 {
        font-size: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .coming-soon-container {
        padding: 40px 20px;
    }

    .icon {
        font-size: 56px;
    }

    .error-container {
        padding: 30px 20px;
    }

    .error-container h1 {
        font-size: 22px;
    }

    .btn-container {
        flex-direction: column;
    }

    .welcome-container {
        padding: 40px 30px;
    }

    .customer-name {
        font-size: 20px;
    }

    .btn-primary {
        width: 100%;
        font-size: 18px !important;
        padding: 16px !important;
    }
}


