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

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    padding: 20px;
}

.form-box {
    background: white;
    max-width: 400px;
    margin: auto;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
}

h1 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #2563eb;
}

button {
    width: 100%;
    padding: 13px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

.switch {
    text-align: center;
    margin-top: 22px;
    color: #666;
}

a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

#message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.success {
    color: green;
}

.error {
    color: red;
}
.dashboard-box {
    max-width: 500px;
}

.user-details {
    background: #eff6ff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    line-height: 2;
    white-space: pre-line;
}

#logoutBtn {
    background: #dc2626;
}

#logoutBtn:hover {
    background: #b91c1c;
}