@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #4b6cb7;
    --secondary: #182848;
    --success: #28a745;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 100vh;
    color: #333;
}

.card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 15px;
    border: none;
    margin-bottom: 20px;
}

.login-container, .test-container, .results-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
}

.question {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timer {
    font-size: 1.3rem;
    font-weight: bold;
    color: #dc3545;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn-whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 25px;
}

.btn-whatsapp:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
    transform: translateY(-2px);
    color: white;
}

.progress {
    height: 12px;
    border-radius: 10px;
}

.difficulty-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.difficulty-easy { background: #d4edda; color: #155724; }
.difficulty-medium { background: #fff3cd; color: #856404; }
.difficulty-hard { background: #f8d7da; color: #721c24; }

.question-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    background: white;
    transition: all 0.2s;
}

.nav-item.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.nav-item.answered {
    background-color: #e3f2fd;
    color: #0d6efd;
    border-color: #90caf9;
}

.nav-item.answered.active {
    background-color: var(--primary);
    color: white;
}

/* drag and drop specific styling */
.dnd-box {
    background-color: #fff;
    border: 2px dashed #bbb;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: grab;
    font-weight: 500;
}

.dnd-box:active { cursor: grabbing; }

.drop-target {
    min-height: 44px;
    background-color: #fff;
    border: 2px solid #ced4da;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.drop-target.hovered {
    background-color: #f1f3f9;
    border-color: var(--primary);
}

.hidden { display: none !important; }