body {
    font-family: Arial, sans-serif;
    background: #eef2f3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: white;
    padding: 30px;
    width: 350px;
    border-radius: 10px;
    animation: slideFade 1s ease;
}

.student-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.student-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.student-form input:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px #3498db;
    outline: none;
}

.student-form button {
    margin-top: 20px;
    padding: 12px;
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.4s;
}

.student-form button:hover {
    background-color: #2ecc71;
}

.result-card {
    display: none;
    margin-top: 30px;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.result-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}


.data {
    opacity: 0;
    transform: translateX(-15px);
}

.data.animate {
    animation: dataFade 0.6s ease forwards;
}

@keyframes slideFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes dataFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
