/* ============================================================
   Content / Form Pages - Responsive Modern Layout
   Used by contactus.asp, aboutus.asp, Forgot.asp,
   Save_Cart.asp, Retrieve_cart.asp
   ============================================================ */

.page-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 28px 16px 48px;
    box-sizing: border-box;
}

.page-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    padding: 32px;
    box-sizing: border-box;
}

.page-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
}

.page-card-intro {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

/* ---- Form fields ---- */
.page-field {
    margin-bottom: 16px;
}

.page-field label,
.page-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.req-marker {
    color: #e11d48;
    font-weight: 700;
}

.page-card input[type="text"],
.page-card input[type="email"],
.page-card input[type="password"],
.page-card textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 1rem;
    line-height: 1.4;
    font-family: inherit;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

/* Comfortable, touch-friendly height for single-line fields */
.page-card input[type="text"],
.page-card input[type="email"],
.page-card input[type="password"] {
    height: 48px;
}

.page-card textarea {
    min-height: 140px;
    resize: vertical;
}

.page-card input[type="text"]:focus,
.page-card input[type="email"]:focus,
.page-card input[type="password"]:focus,
.page-card textarea:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, .15);
}

.page-help {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ---- Captcha ---- */
.page-captcha {
    margin: 6px 0 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.page-captcha input[type="text"] {
    max-width: 220px;
}

/* ---- Actions ---- */
.page-actions {
    margin-top: 8px;
    text-align: center;
}

/* ---- Store address block (contact page) ---- */
.page-address {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eef2f7;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
}

/* ---- About Us link list ---- */
.page-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-links a {
    display: block;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.page-links a:hover {
    background: #eef4fb;
    border-color: #4a90d9;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .page-wrap {
        padding: 16px 12px 36px;
    }
    .page-card {
        padding: 20px;
        border-radius: 10px;
    }
    .page-card-title {
        font-size: 1.2rem;
    }
}
