* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* LOGIN STYLING */
.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(30, 60, 114, 0.8)),
        url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}

.login-wrapper {
    display: flex;
    width: 800px;
    height: 450px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.login-side-image {
    flex: 1;
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(30, 60, 114, 0.8)),
        url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80');
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 30px;
    color: white;
}

.login-form-area {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
    color: #1e3c72;
}

.form-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.start-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

/* QUIZ STYLING */
.quiz-body {
   background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(30, 60, 114, 0.8)),
        url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');    
}

.username{
    margin-right: 15px;
}

.main-header {
    background: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logout-btn {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 7px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.quiz-main {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.quiz-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

#progress-fill {
    height: 100%;
    background: #10b981;
    width: 0%;
    transition: 0.3s;
}

.option-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    text-align: left;
}

.option-btn.selected {
    background: #eff6ff;
    border-color: #1e3c72;
    color: #1e3c72;
    font-weight: bold;
}

.navigation-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

#next-btn,
#submit-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
}

#submit-btn {
    background: #10b981;
}

#prev-btn {
    background: rgb(17, 17, 17);
    color: white;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
}

.hidden {
    display: none;
}