* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(145deg, #0b2b5e 0%, #1a4a8a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.app-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 28px;
    padding: 24px 32px;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* ==================== LOGIN SCREEN ==================== */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, #e8f0fe, #d4e4fc);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    padding: 12px;
    box-shadow: 0 8px 16px rgba(11, 43, 94, 0.15);
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.school-name {
    color: #1e293b;
    font-weight: 700;
    font-size: 24px;
}

.exam-subtitle {
    color: #64748b;
    font-size: 16px;
    margin-top: 4px;
}

.input-group {
    margin-bottom: 24px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 15px;
}

.input-group label i {
    margin-right: 8px;
    color: #0b2b5e;
}

.input-group input {
    width: 100%;
    padding: 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    font-size: 16px;
    background: white;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: #0b2b5e;
    outline: none;
    box-shadow: 0 0 0 4px rgba(11, 43, 94, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 55px;
}

.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    font-size: 20px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #0b2b5e;
}

.btn-login {
    background: #0b2b5e;
    color: white;
    width: 100%;
    max-width: 450px;
    padding: 18px;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    margin: 24px auto 0;
    display: block;
    transition: background 0.2s;
}

.btn-login:hover {
    background: #1e4a8b;
}

.warning-text {
    text-align: center;
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
}

.warning-text i {
    margin-right: 8px;
}

/* ==================== KONFIRMASI SCREEN ==================== */
.confirm-header {
    text-align: center;
    margin-bottom: 32px;
}

.confirm-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirm-icon i {
    font-size: 48px;
    color: #2563eb;
}

.confirm-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.confirm-subtitle {
    color: #64748b;
    font-size: 15px;
}

.confirm-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.confirm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.confirm-item:last-child {
    border-bottom: none;
}

.confirm-label {
    font-weight: 600;
    color: #475569;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-label i {
    width: 24px;
    color: #2563eb;
}

.confirm-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 16px;
    text-align: right;
}

.confirm-warning {
    background: #fef3c7;
    border-radius: 16px;
    padding: 16px;
    color: #d97706;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.confirm-warning i {
    font-size: 24px;
}

.confirm-buttons {
    display: flex;
    gap: 16px;
}

.confirm-btn {
    flex: 1;
    padding: 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.confirm-btn.btn-primary {
    background: #0b2b5e;
    color: white;
}

.confirm-btn.btn-primary:hover {
    background: #1e4a8b;
}

.confirm-btn.btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.confirm-btn.btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ==================== EXAM SCREEN ==================== */
.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.student-info-display {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}

.timer {
    background: #fee2e2;
    color: #dc2626;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 18px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-bottom: 24px;
}

.progress-fill {
    height: 100%;
    background: #0b2b5e;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s;
}

.exam-main {
    display: flex;
    gap: 24px;
    flex: 1;
    min-height: 0;
}

.soal-panel {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    max-height: 60vh;
}

.soal-panel::-webkit-scrollbar {
    width: 6px;
}

.soal-panel::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.soal-panel::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
}

/* ==================== NAVIGATOR PANEL ==================== */
.nav-panel {
    width: 200px;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    max-height: 400px;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 14px;
}

.nav-header button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #64748b;
}

.nav-info {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    padding: 4px;
    background: #e2e8f0;
    border-radius: 20px;
    font-weight: 500;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    overflow-y: auto;
    max-height: 280px;
    padding-right: 4px;
}

.nav-grid::-webkit-scrollbar {
    width: 4px;
}

.nav-grid::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.nav-grid::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

.nav-btn-num {
    aspect-ratio: 1;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.nav-btn-num:hover {
    transform: scale(1.05);
}

.nav-btn-num.answered {
    background: #22c55e;
}

.nav-btn-num.current {
    background: #0b2b5e;
    box-shadow: 0 0 0 2px rgba(11, 43, 94, 0.3);
}

.nav-btn-num.unanswered {
    background: #94a3b8;
}

.nav-btn-num.ragu {
    background: #fbbf24;
}

.nav-legend {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #cbd5e1;
    font-size: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.nav-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #475569;
}

.legend-box {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.legend-box.answered {
    background: #22c55e;
}

.legend-box.current {
    background: #0b2b5e;
}

.legend-box.unanswered {
    background: #94a3b8;
}

.legend-box.ragu {
    background: #fbbf24;
}

.btn-toggle-nav {
    display: none;
}

/* ==================== SOAL CONTAINER ==================== */
.soal-container h3 {
    margin-bottom: 16px;
    color: #1e293b;
    font-size: 18px;
    background: #e2e8f0;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
}

.soal-container p {
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 16px;
    color: #1e293b;
}

.soal-container img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.option-label {
    display: block;
    background: #f1f5f9;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.2s;
    font-size: 16px;
}

.option-label:hover {
    background: #e2e8f0;
    border-color: #0b2b5e;
}

.option-label input {
    margin-right: 16px;
    transform: scale(1.3);
    accent-color: #0b2b5e;
}

.btn-simpan {
    background: #0b2b5e;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 30px;
    width: 100%;
    margin-top: 20px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-simpan:hover {
    background: #1e4a8b;
}

.btn-simpan:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* ==================== MENJODOHKAN DRAG & DROP ==================== */
.matching-jodoh-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.matching-left,
.matching-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.matching-item-left {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 500;
    color: #1e293b;
    border: 2px solid #cbd5e1;
    cursor: grab;
    user-select: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.matching-item-left:hover {
    border-color: #0b2b5e;
    box-shadow: 0 4px 8px rgba(11,43,94,0.1);
    transform: translateY(-2px);
}

.matching-item-left:active {
    cursor: grabbing;
    opacity: 0.8;
}

.matching-item-left.dragging {
    opacity: 0.5;
    transform: scale(0.98);
}

.matching-item-left.paired {
    background: #dcfce7;
    border-color: #22c55e;
    cursor: default;
    opacity: 0.7;
}

.matching-target {
    background: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px dashed #94a3b8;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.matching-target.filled {
    background: #dcfce7;
    border-color: #22c55e;
    border-style: solid;
}

.matching-target.empty {
    background: #fef3c7;
    border-color: #fbbf24;
}

.matching-target.drag-over {
    background: #dbeafe;
    border-color: #3b82f6;
    border-style: solid;
    transform: scale(1.02);
}

.matching-target-content {
    text-align: center;
    width: 100%;
}

.btn-reset-matching {
    background: #e2e8f0;
    color: #334155;
    border: none;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-reset-matching:hover {
    background: #cbd5e1;
}

/* ==================== NAVIGATION BOTTOM ==================== */
.nav-bottom {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.nav-btn {
    flex: 1;
    padding: 16px;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    background: #e2e8f0;
    color: #1e293b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-btn:hover {
    background: #cbd5e1;
}

.btn-selesai {
    background: #22c55e;
    color: white;
}

.btn-selesai:hover {
    background: #16a34a;
}

.btn-selesai:disabled {
    background: #94a3b8 !important;
    opacity: 0.6;
    cursor: not-allowed !important;
}

.nav-ragu {
    background: #fef3c7;
    color: #d97706;
}

.nav-ragu:hover {
    background: #fde68a;
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 20px 0 8px;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
}

.footer p {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer p i {
    margin: 0 8px;
    color: #0b2b5e;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #1e293b;
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: slideIn 0.3s ease;
    min-width: 250px;
    justify-content: center;
}

.toast.success {
    background: #16a34a;
}

.toast.error {
    background: #2363dc;
}

.toast.warning {
    background: #eab308;
    color: #1e293b;
}

.toast.info {
    background: #2563eb;
}

.toast i {
    font-size: 18px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast.hide {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ==================== MODAL DIALOG ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    background: white;
    border-radius: 28px;
    padding: 28px 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.modal-icon.success {
    background: #dcfce7;
    color: #16a34a;
}

.modal-icon.error {
    background: #fee2e2;
    color: #dc2626;
}

.modal-icon.warning {
    background: #fef3c7;
    color: #eab308;
}

.modal-icon.info {
    background: #dbeafe;
    color: #2563eb;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
}

.modal-message {
    color: #64748b;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
    font-size: 15px;
    white-space: pre-line;
}

.modal-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 16px;
}

.modal-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: #0b2b5e;
    cursor: pointer;
}

.modal-checkbox label {
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn.primary {
    background: #0b2b5e;
    color: white;
}

.modal-btn.primary:hover {
    background: #1e4a8b;
}

.modal-btn.success {
    background: #22c55e;
    color: white;
}

.modal-btn.success:hover {
    background: #16a34a;
}

.modal-btn.warning {
    background: #eab308;
    color: white;
}

.modal-btn.warning:hover {
    background: #ca8a04;
}

.modal-btn.secondary {
    background: #f1f5f9;
    color: #334155;
}

.modal-btn.secondary:hover {
    background: #e2e8f0;
}

/* ==================== SCORE SUMMARY ==================== */
.score-summary {
    background: linear-gradient(145deg, #0b2b5e, #1a4a8a);
    color: white;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.score-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

.score-details {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.score-detail-item {
    text-align: center;
}

.score-detail-value {
    font-size: 22px;
    font-weight: 700;
}

.score-detail-label {
    font-size: 12px;
    opacity: 0.7;
}

/* ==================== FREEZE OVERLAY ==================== */
.freeze-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: freezeIn 0.3s ease;
}

@keyframes freezeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.freeze-container {
    background: white;
    border-radius: 32px;
    padding: 40px 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: freezePulse 2s infinite;
}

@keyframes freezePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(220, 38, 38, 0);
    }
}

.freeze-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: freezeIcon 1s infinite;
}

@keyframes freezeIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.freeze-title {
    font-size: 28px;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.freeze-message {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 24px;
}

.freeze-timer {
    font-size: 64px;
    font-weight: 800;
    color: #dc2626;
    background: #fee2e2;
    padding: 20px;
    border-radius: 24px;
    margin-bottom: 20px;
    font-family: monospace;
    letter-spacing: 8px;
}

.freeze-warning {
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    padding: 12px;
    background: #fef2f2;
    border-radius: 12px;
}

/* ==================== ALERT OVERLAY ==================== */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 38, 38, 0.4);
    pointer-events: none;
    z-index: 9998;
    animation: blink 0.8s infinite;
    display: none;
}

@keyframes blink {
    50% {
        background: rgba(220, 38, 38, 0.8);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .app-container {
        max-width: 100%;
        padding: 20px 16px;
    }
    .nav-panel {
        width: 160px;
    }
}

@media (max-width: 600px) {
    .app-container {
        max-width: 550px;
        padding: 16px;
    }
    .exam-main {
        flex-direction: column;
    }
    .nav-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
        background: white;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s;
        z-index: 1000;
        max-height: 60vh;
        padding: 20px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }
    .nav-panel.show {
        transform: translateY(0);
    }
    .nav-header button {
        display: block;
    }
    .nav-grid {
        grid-template-columns: repeat(8, 1fr);
        max-height: 300px;
    }
    .nav-legend {
        grid-template-columns: repeat(4, 1fr);
    }
    .btn-toggle-nav {
        display: block;
        width: 100%;
        padding: 14px;
        background: #e2e8f0;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        margin: 16px 0;
    }
    .matching-jodoh-container {
        flex-direction: column;
    }
    .logo-placeholder {
        width: 90px;
        height: 90px;
    }
    .school-name {
        font-size: 20px;
    }
    .nav-bottom {
        gap: 8px;
    }
    .nav-btn {
        padding: 12px 8px;
        font-size: 13px;
    }
    .footer p {
        font-size: 11px;
    }
}
/* ==================== MENJODOHKAN DRAG & DROP (KANAN KE KIRI) ==================== */
.matching-jodoh-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.matching-left, .matching-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
}

.matching-target-area {
    background: #fef3c7 !important;
    border: 2px solid #d97706;
}

.matching-drag-area {
    background: #dbeafe !important;
    border: 2px solid #0b2b5e;
}

.matching-item-right {
    background: white;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 500;
    color: #1e293b;
    border: 2px solid #0b2b5e;
    cursor: grab;
    user-select: none;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(11, 43, 94, 0.1);
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.matching-item-right:hover {
    background: #f0f9ff;
    box-shadow: 0 6px 10px rgba(11, 43, 94, 0.15);
    transform: translateX(-4px);
}

.matching-item-right:active {
    cursor: grabbing;
    opacity: 0.8;
}

.matching-item-right.dragging {
    opacity: 0.5;
    transform: scale(0.98);
}

.matching-item-right.paired {
    background: #dcfce7;
    border-color: #22c55e;
    cursor: default;
    opacity: 0.8;
}

.matching-target {
    background: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px dashed #d97706;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.matching-target.filled {
    background: #dcfce7;
    border-color: #22c55e;
    border-style: solid;
}

.matching-target.empty {
    background: #fef3c7;
    border-color: #fbbf24;
}

.matching-target.drag-over {
    background: #dbeafe;
    border-color: #3b82f6;
    border-style: solid;
    transform: scale(1.02);
}

.matching-target-content {
    text-align: center;
    width: 100%;
}

.btn-reset-matching {
    background: #e2e8f0;
    color: #334155;
    border: none;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.btn-reset-matching:hover {
    background: #cbd5e1;
}
