* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.hidden {
    display: none;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.2);
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

button:hover {
    background-color: #45a049;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress {
    width: 100%;
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.character {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease;
}

.shake {
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0) rotate(0);
    }
    25% {
        transform: translateX(-5px) rotate(-2deg);
    }
    75% {
        transform: translateX(5px) rotate(2deg);
    }
}

.merit-text {
    position: fixed;
    color: red;
    font-size: 1.5rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
    animation: float 1s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
    text-align: center;
    min-width: max-content;
    padding: 0 5px;
    z-index: 1000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translateY(-20px);
        opacity: 0;
    }
}

h1, h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Validation Container Styles */
.validation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.validation-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.validation-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.student-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.student-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.papers-section {
    margin-top: 1rem;
}

.papers-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.paper-item {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.papers-list h3 {
    margin-bottom: 1rem;
    color: #333;
}

.papers-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.papers-list th,
.papers-list td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.papers-list th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.papers-list tr:hover {
    background-color: #f5f5f5;
}

.validation-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.validation-buttons button {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.validation-buttons .btn-primary {
    background-color: #007bff;
    color: white;
}

.validation-buttons .btn-primary:hover {
    background-color: #0056b3;
}

.validation-buttons .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.validation-buttons .btn-secondary:hover {
    background-color: #545b62;
}

.user-details-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.user-details {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
}

.user-details h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.detail-row {
    display: flex;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: bold;
    width: 40%;
    color: #666;
}

.detail-row .value {
    width: 60%;
    color: #333;
}

.button-container {
    text-align: center;
    margin-top: 2rem;
}

.continue-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.continue-btn:hover {
    background-color: #45a049;
} 