/* Modal Styles */
.report-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.report-modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

.report-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.report-field {
    margin-bottom: 14px;
}

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

.report-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.report-field input:focus {
    outline: none;
    border-color: #2c4999;
    box-shadow: 0 0 0 3px rgba(44, 73, 153, 0.12);
}

.report-field input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.report-field-help {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

.report-field-error {
    display: none;
    font-size: 0.8rem;
    color: #b91c1c;
    margin-top: 6px;
}

.report-field-error.active {
    display: block;
}

.report-global-error {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.report-global-error.active {
    display: block;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.report-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 15px;
    flex-shrink: 0;
}

.report-modal-header h2 {
    margin: 0;
    color: #2c4999;
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.report-modal-close {
    color: #64748b;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.report-modal-close:hover {
    color: #1e293b;
}

.report-summary-item {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8faff;
    border-radius: 10px;
    border: 1px solid #eef2f7;
}

.report-summary-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.report-summary-value {
    display: block;
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 500;
}

.report-modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-shrink: 0;
}

.report-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}

.report-btn-confirm {
    background: #2c4999;
    color: white;
}

.report-btn-confirm:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.report-btn-cancel {
    background: #f1f5f9;
    color: #64748b;
}

.report-btn-cancel:hover {
    background: #e2e8f0;
}

.loading-spinner-small {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: none;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
