/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom right, #b19cd9, #8a2be2);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container */
.login_container {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Logo Image */
.login_container img {
    width: 80px;
    margin-bottom: 1rem;
}

/* Title */
#loginTitle {
    color: #6a0dad;
    margin-bottom: 2rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #5c4d7d;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #8a2be2;
    outline: none;
}

/* Role Switch */
.role-switch {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.role-option {
    flex: 1;
    text-align: center;
}

.role-radio {
    display: none;
}

.role-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid #8a2be2;
    border-radius: 20px;
    cursor: pointer;
    color: #8a2be2;
    transition: all 0.3s ease;
}

.role-radio:checked + .role-label {
    background-color: #8a2be2;
    color: white;
}

/* Button */
.login-btn {
    background-color: #6a0dad;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.login-btn:hover {
    background-color: #5a00b2;
}

/* Error Messages */
p[style] {
    font-size: 0.95rem;
}