/* ============================================================
   Company Claim System — Stylesheet
   v1.0.0
   ============================================================ */


/* ── Claim Form ──────────────────────────────────────────── */

.claim-company-info {
    margin-bottom: 28px;
}

.claim-company-info h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.claim-company-form {
    max-width: 560px;
}

.claim-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
}

.claim-form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.claim-form-group input,
.claim-form-group textarea {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.claim-form-group input:focus,
.claim-form-group textarea:focus {
    outline: none;
    border-color: #386641;
    box-shadow: 0 0 0 3px rgba(56, 102, 65, 0.12);
}

.claim-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: #c00;
    margin-left: 2px;
}

.optional {
    color: #888;
    font-weight: 400;
    font-size: 0.82rem;
    margin-left: 4px;
}

.claim-field-hint {
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

.claim-submit-btn {
    display: inline-block;
    padding: 13px 32px;
    background-color: #246EB9;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    margin-top: 6px;
}

.claim-submit-btn:hover {
    background-color: #00171F;
    transform: translateY(-1px);
}

.claim-submit-btn:active {
    transform: scale(0.98);
}

.claim-disclaimer {
    font-size: 0.8rem;
    color: #777;
    margin-top: 14px;
}


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

.claim-notice {
    padding: 12px 16px;
    background-color: #f5f5f5;
    border-left: 4px solid #ccc;
    border-radius: 4px;
    color: #444;
    font-size: 0.95rem;
}


/* ── Success Confirmation ────────────────────────────────── */

.claim-confirmation {
    text-align: center;
    padding: 36px 24px;
    background-color: #DFF3E4;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.claim-confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: #386641;
    color: #fff;
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.claim-confirmation h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.claim-confirmation p {
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ── My Claims Table ─────────────────────────────────────── */

.my-claims-wrapper {
    margin-top: 20px;
}

.my-claims-wrapper h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.my-claims-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.my-claims-table th,
.my-claims-table td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid #e5e5e5;
}

.my-claims-table th {
    font-weight: 600;
    background-color: #f9f9f9;
    color: #333;
}

.my-claims-table tr:last-child td {
    border-bottom: none;
}

.my-claims-table a {
    color: #386641;
    text-decoration: none;
    font-weight: 500;
}

.my-claims-table a:hover {
    text-decoration: underline;
}


/* ── Status Badges ───────────────────────────────────────── */

.claim-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background-color: #fff7e0;
    color: #8a6000;
}

.status-approved {
    background-color: #e8f5ec;
    color: #2a5c34;
}

.status-rejected {
    background-color: #fdecea;
    color: #9b1c1c;
}

@media (max-width: 600px) {
    .my-claims-table th,
    .my-claims-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}
