body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    margin: 0;
}

/* ================= MAIN ================= */

.main {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
}

/* ================= CARD ================= */

.card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: block;
    margin-bottom: 25px;
    transition: 0.3s ease;
}

.card h3 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #222;
}

/* ================= FIELD ================= */

.field-row {
    margin-bottom: 18px;
}

.field-row label {
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    font-size: 1em;
    color: #333;
}

.field-row div {
    background: #f9f9f9;
    padding: 12px 15px;
    border-radius: 10px;
    min-height: 40px;
    font-size: 0.95em;
}

/* ================= BADGE ================= */

.badge {
    padding: 6px 16px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 0.85em;
    display: inline-block;
    color: #fff;
}

.status-reported { background: #4facfe; }
.status-approved { background: #43e97b; }
.status-rejected { background: #f5576c; }

/* ================= DUPLICATE BOX ================= */

.duplicate-box {
    background: #fffbea;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.collapsible {
    background: #ffc107;
    cursor: pointer;
    padding: 12px 15px;
    border: none;
    width: 100%;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95em;
    text-align: left;
    transition: 0.2s;
}

.collapsible:hover {
    background: #ffb300;
}

.content {
    display: none;
    padding: 10px 5px;
}

.content ul {
    padding-left: 18px;
}

.content li {
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 6px;
    font-size: 0.9em;
}

/* ================= ACTION BUTTONS ================= */

.actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9em;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.approve { 
    background: #43e97b; 
}

.approve:hover {
    background: #32d468;
}

.reject { 
    background: #f5576c; 
}

.reject:hover {
    background: #e03b52;
}

/* ================= MODAL OVERLAY ================= */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ================= MODAL CARD ================= */

.modal-card {
    background: #ffffff;
    width: 420px;
    max-width: 90%;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    animation: popIn 0.2s ease-out;
}

@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
}

.modal-close:hover {
    color: #f5576c;
}

/* ================= FORM ================= */

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 0.95em;
}

/* ================= MODAL ACTIONS ================= */

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn.primary {
    background: #4facfe;
    color: #fff;
}

.btn.primary:hover {
    background: #3797f7;
}

.btn.cancel {
    background: #ddd;
}

.btn.cancel:hover {
    background: #ccc;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){
    .actions { 
        flex-direction: column; 
        gap: 10px; 
    }
}
/* OVERLAY */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* CARD */
.modal-card {
    background: #fff;
    width: 420px;
    border-radius: 14px;
    padding: 20px 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
    animation: fadeIn 0.25s ease;
}

/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

/* CLOSE BUTTON */
.close-btn {
    cursor: pointer;
    font-size: 22px;
    color: #888;
}

.close-btn:hover {
    color: #000;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.2s;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #4CAF50;
    outline: none;
}

/* BUTTONS */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn.primary {
    background: #4CAF50;
    color: white;
}

.btn.primary:hover {
    background: #43a047;
}

.btn.cancel {
    background: #ddd;
}

.btn.cancel:hover {
    background: #bbb;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}