/**
 * Southern Claim Experts (SCE)
 * Repository Path: /assets/css/request-form.css
 * Production Path: <SCE_WEB_ROOT>/assets/css/request-form.css
 * Purpose: Provides the responsive blue-and-gray public/admin request card presentation.
 * Module: Public Intake
 * Author: Southern Claim Experts Engineering
 * Copyright: © 2026 Southern Claim Experts. All rights reserved.
 * Version: 1.0.0
 * Work Order: SCE-WO-012
 * Change Log: 2026-07-24 | 1.0.0 | SCE-WO-012 | Initial request card design.
 * Dependencies: Bootstrap 5
 * Related Files: /request-appraisal.php, /admin/request-edit.php
 */

.request-page-header {
    background: linear-gradient(135deg, #eef4fb 0%, #f8fafc 100%);
}

.request-form-page {
    background: #f4f7fb;
    padding: 2.5rem 0 4.5rem;
}

.request-form-page .container,
.request-card-form {
    max-width: 1140px;
}

.request-form-intro {
    color: #526174;
    margin-bottom: 1rem;
}

.request-card-form {
    display: grid;
    gap: 1.5rem;
}

.request-card {
    background: #fff;
    border: 1px solid #d9e2ee;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 35, 63, .07);
    padding: clamp(1.25rem, 2.4vw, 2rem);
}

.request-card-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e5eaf1;
    display: flex;
    gap: .9rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
}

.request-card-heading > span {
    align-items: center;
    background: #10233f;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2.25rem;
    font-weight: 800;
    height: 2.25rem;
    justify-content: center;
}

.request-card-heading h2 {
    color: #10233f;
    font-size: 1.25rem;
    font-weight: 800;
    margin: .25rem 0 .2rem;
}

.request-card-heading p {
    color: #64748b;
    margin: 0;
}

.request-card-heading-action .owner-copy-button {
    margin-left: auto;
    min-height: 44px;
    white-space: nowrap;
}

.request-card .form-label {
    color: #26374d;
    font-weight: 650;
    margin-bottom: .45rem;
}

.request-card .form-control,
.request-card .form-select,
.request-card .input-group > .btn {
    min-height: 46px;
}

.request-card textarea.form-control {
    min-height: 7rem;
}

.request-card .form-control:focus,
.request-card .form-select:focus,
.request-card .btn:focus-visible {
    border-color: #1f5c99;
    box-shadow: 0 0 0 .22rem rgba(31, 92, 153, .22);
    outline: 2px solid transparent;
}

.required-marker {
    color: #a61b1b;
    font-weight: 800;
}

.request-submit-card {
    border-top: 4px solid #1f5c99;
}

.request-privacy-note {
    background: #eef4fb;
    border-left: 4px solid #1f5c99;
    color: #34465d;
    padding: 1rem;
}

.request-submit-button {
    min-height: 50px;
    min-width: 12rem;
}

@media (max-width: 767.98px) {
    .request-form-page {
        padding: 1.5rem 0 3rem;
    }

    .request-card {
        border-radius: 12px;
        padding: 1.15rem;
    }

    .request-card-heading,
    .request-card-heading-action {
        flex-wrap: wrap;
    }

    .request-card-heading-action .owner-copy-button,
    .request-submit-button {
        margin-left: 0;
        width: 100%;
    }

    .request-card .input-group {
        align-items: stretch;
        display: grid;
        gap: .65rem;
        grid-template-columns: minmax(0, 1fr);
    }

    .request-card .input-group > .form-control,
    .request-card .input-group > .btn {
        border-radius: .375rem !important;
        width: 100%;
    }
}

