/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f7ff; /* light blue background */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container for forms/pages */
.container {
    background-color: #ffffff; /* white card */
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}

/* Headings */
h2 {
    margin-bottom: 20px;
    color: #333333;
}

/* Labels */
label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    color: #555555;
    font-weight: 500;
}

/* Inputs */
input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Buttons */
button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2; /* light blue button */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #357ab7; /* darker blue on hover */
}

/* Error text */
.error {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}
.container {
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.welcome-msg {
    width: 100%;                /* Full width */
    text-align: center;          /* Center text */
    font-weight: 600;
    font-size: 20px;
    color: #333;
    padding: 15px 0;             /* Some top & bottom padding */
    background-color: #f0f0f0;   /* Light background for header look */
    position: fixed;             /* Fix it at the top */
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;               /* Make sure it stays above content */
}
.container {
    margin-top: 70px; /* Same or slightly more than header height */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Continue button hover */
#classForm button {
    transition: background-color 0.3s, transform 0.2s;
}

#classForm button:hover {
    background-color: #3577c1;  /* Slightly darker blue */
    transform: translateY(-2px);
}

/* Dropdown hover/focus */
#classSelect {
    transition: border-color 0.3s, box-shadow 0.3s;
}

#classSelect:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
    outline: none;
}
