﻿.header-logo img {
    display: block;
    height: 30px;
    width: auto;
    object-fit: contain;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quick Access Card — navy sólido, sem gradiente roxo */
.quick-access-card {
    background: #003b77;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 14px rgba(0, 59, 119, 0.2);
}

.quick-access-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.quick-access-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quick-access-text {
    flex: 1;
    color: white;
    min-width: 250px;
}

    .quick-access-text h4 {
        margin: 0 0 0.5rem 0;
        font-size: 1.2rem;
    }

    .quick-access-text p {
        margin: 0;
        opacity: 0.85;
        font-size: 0.95rem;
    }

.quick-access-action {
    margin-left: auto;
}

.btn-outline-primary {
    background: white;
    color: #003b77;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline-primary:hover {
        background: rgba(255, 255, 255, 0.88);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

@media (max-width: 768px) {
    .quick-access-content {
        flex-direction: column;
        text-align: center;
    }

    .quick-access-action {
        margin-left: 0;
        width: 100%;
    }

        .quick-access-action a {
            width: 100%;
        }
}

/* Claims Header */
.claims-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.claims-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    border: 1px solid #dddddf;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon {
    width: 64px;
    height: 64px;
    background: #003b77;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.header-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.header-text p {
    color: #5c656d;
    margin: 0;
    font-size: 0.9375rem;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(45, 122, 79, 0.08);
    color: #2d7a4f;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Form Sections */
.form-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    border: 1px solid #dddddf;
    animation: slideUp 0.5s ease-out both;
}

    .form-section:nth-child(1) {
        animation-delay: 0.05s;
    }

    .form-section:nth-child(2) {
        animation-delay: 0.1s;
    }

    .form-section:nth-child(3) {
        animation-delay: 0.15s;
    }

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dddddf;
}

.section-number {
    width: 40px;
    height: 40px;
    background: #003b77;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.section-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.2rem 0;
}

.section-title p {
    color: #5c656d;
    margin: 0;
    font-size: 0.875rem;
}

/* Form Controls */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

    .form-label i {
        color: #003b77;
    }

.required {
    color: #d82e21;
}

.form-control {
    padding: 0.875rem 1rem;
    border: 1px solid #dddddf;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.15s;
    background: #f5f5f7;
    color: #1e293b;
}

    .form-control:focus {
        outline: none;
        border-color: #003b77;
        background: white;
        box-shadow: 0 0 0 3px rgba(0, 59, 119, 0.1);
    }

    .form-control.filled {
        background: white;
        border-color: #2d7a4f;
    }

.textarea-large {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.char-counter {
    text-align: right;
    font-size: 0.8125rem;
    color: #5f6871;
    margin-top: 0.4rem;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed #dddddf;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f5f5f7;
    position: relative;
}

    .file-upload-area:hover,
    .file-upload-area.dragover {
        border-color: #003b77;
        background: rgba(0, 59, 119, 0.04);
    }

.file-input {
    display: none;
}

.upload-icon {
    font-size: 3rem;
    color: #003b77;
    margin-bottom: 1rem;
}

.upload-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.upload-content p {
    color: #5c656d;
    font-size: 0.875rem;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: #f5f5f7;
    border-radius: 8px;
    border: 1px solid #dddddf;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .file-info i {
        font-size: 1.5rem;
    }

.file-icon-pdf {
    color: #d82e21;
}

.file-icon-doc {
    color: #003b77;
}

.file-icon-img {
    color: #2d7a4f;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9375rem;
}

.file-size {
    font-size: 0.8125rem;
    color: #5c656d;
}

.remove-file {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: rgba(216, 46, 33, 0.08);
    color: #d82e21;
    cursor: pointer;
    transition: all 0.15s;
}

    .remove-file:hover {
        background: #d82e21;
        color: white;
    }

/* Info Box */
.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 59, 119, 0.05);
    border: 1px solid rgba(0, 59, 119, 0.15);
    border-radius: 10px;
}

.info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(0, 59, 119, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003b77;
    font-size: 1.2rem;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
}

.info-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

.info-content li {
    color: #5c656d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: #003b77;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 59, 119, 0.2);
}

    .btn-primary:hover {
        background: #002a58;
        transform: translateY(-1px);
        box-shadow: 0 5px 16px rgba(0, 59, 119, 0.28);
    }

    .btn-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.btn-secondary {
    background: white;
    color: #5c656d;
    border: 1px solid #dddddf;
}

    .btn-secondary:hover {
        background: #f5f5f7;
        border-color: #003b77;
        color: #003b77;
    }

/* Success Modal */
.success-modal .modal-body {
    padding: 3rem 2rem;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(45, 122, 79, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #2d7a4f;
}

.success-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.success-modal p {
    color: #5c656d;
    margin-bottom: 0.5rem;
}

.success-modal strong {
    color: #003b77;
    font-size: 1.125rem;
}

.modal-description {
    margin-bottom: 2rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .claims-container {
        padding: 1rem;
    }

    .claims-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-content {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
