﻿.form-group.align-self-end {
    display: flex;
    align-items: flex-end;
}

.claim-result-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 2rem;
}

.claim-result-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #dddddf;
}

.claim-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dddddf;
}

/* Reference badge — navy sólido */
.reference-badge {
    background: #003b77;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* Status Badges */
.status-badge {
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
}

    .status-badge.status-pending {
        background: rgba(176, 122, 30, 0.1);
        color: #b07a1e;
    }

    .status-badge.status-inprogress {
        background: rgba(0, 59, 119, 0.08);
        color: #003b77;
    }

    .status-badge.status-resolved {
        background: rgba(45, 122, 79, 0.1);
        color: #2d7a4f;
    }

    .status-badge.status-closed {
        background: rgba(92, 101, 109, 0.1);
        color: #5c656d;
    }

/* Timeline */
.status-timeline {
    margin: 2rem 0;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 0.5rem;
}

    .timeline-item:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 1.25rem;
        top: 3rem;
        width: 2px;
        height: calc(100% + 1rem);
        background: #dddddf;
    }

    .timeline-item.completed::before {
        background: #2d7a4f;
    }

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f7;
    border: 1px solid #dddddf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    color: #5f6871;
}

.timeline-item.completed .timeline-icon {
    background: #2d7a4f;
    color: white;
    border-color: #2d7a4f;
}

.timeline-content h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.timeline-content p {
    margin: 0.25rem 0 0 0;
    color: #5c656d;
    font-size: 0.875rem;
}

/* Claim Details */
.claim-details {
    margin-top: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

    .detail-section h3 {
        font-size: 1rem;
        color: #0f172a;
        font-weight: 600;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-weight: 600;
    color: #5c656d;
    font-size: 0.875rem;
}

.detail-value {
    color: #0f172a;
    font-size: 0.9375rem;
}

/* Content Boxes — borda esquerda navy */
.description-box,
.feedback-box,
.duration-box {
    background: #f5f5f7;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 3px solid #003b77;
}

    .description-box p,
    .feedback-box p,
    .duration-box p {
        margin: 0;
        color: #1e293b;
        line-height: 1.6;
        font-size: 0.9375rem;
    }

/* Claim Actions */
.claim-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dddddf;
}

/* Help Card — navy sólido */
.help-card {
    background: #003b77;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.help-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.help-card h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.help-card p {
    opacity: 0.82;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .contact-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.875rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        font-size: 0.875rem;
    }

    .contact-list i {
        width: 20px;
        text-align: center;
    }

/* Responsive */
@media (max-width: 992px) {
    .claim-result-container {
        grid-template-columns: 1fr;
    }

    .help-card {
        position: relative;
        top: 0;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .claim-actions,
    .help-card,
    .claims-header,
    .form-section {
        display: none !important;
    }
}
