/* Report and Unlock Modal Styles */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show,
.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.modal-title {
    margin: 0;
    font-size: var(--fs-18);
    font-weight: 700;
    color: var(--text);
}

.close-btn,
.close-report-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 24px;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-btn:hover,
.close-report-modal:hover {
    color: var(--text);
}

.modal-body {
    padding: var(--space-4);
    flex: 1;
    overflow-y: auto;
}

.modal-body .form-group {
    margin-bottom: var(--space-4);
}

.modal-body label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--text);
}

.modal-body .form-control {
    width: 100%;
    padding: var(--space-2);
    background: var(--elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: var(--fs-14);
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.modal-body .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-body .form-control::placeholder {
    color: var(--text-muted);
}

/* Modal button styles */
.modal .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--fs-14);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modal .btn-primary {
    background: var(--primary);
    color: white;
}

.modal .btn-primary:hover {
    background: var(--primary-dark, #1d4ed8);
}

.modal .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.modal .btn-ghost:hover {
    background: var(--elevated);
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 576px) {
    .modal-dialog {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: var(--space-3);
    }
    
    .modal-body {
        padding: var(--space-3);
    }
}
