* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #e6e6fa 0%, #d3cce3 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background-color: #6a5acd;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-left h1 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-right {
    display: flex;
    gap: 24px;
}

.contact, .location {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.icon {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

nav {
    background-color: #edf2f7;
    padding: 16px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-left {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-left li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-left li a:hover {
    color: #6a5acd;
    transform: translateY(-2px);
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 24px;
}

.login-container {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.login-title {
    text-align: center;
    margin-bottom: 24px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.radio-group input {
    margin-right: 8px;
}

.radio-group label {
    font-size: 15px;
    color: #34495e;
    font-weight: 500;
    display: flex;
    align-items: center;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #6a5acd;
    box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
}

button {
    display: block;
    margin: 24px auto 0;
    width: 60%;
    padding: 12px;
    background-color: #6a5acd;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #5b4cb8;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

.forgot-password {
    text-align: center;
    margin-top: 16px;
}

.forgot-password a {
    color: #6a5acd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #5b4cb8;
}

.error {
    color: #e53e3e;
    font-size: 13px;
    margin-bottom: 8px;
    min-height: 20px;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .header-left h1 {
        font-size: 24px;
    }

    .header-right {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    nav {
        padding: 12px 24px;
    }

    .nav-left {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .nav-left li a {
        font-size: 15px;
    }

    .main-content {
        padding: 20px;
    }

    .login-container {
        padding: 24px;
        max-width: 400px;
    }

    .login-title {
        font-size: 24px;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 16px;
    }

    .header-left h1 {
        font-size: 22px;
    }

    .header-right {
        gap: 12px;
    }

    .contact, .location {
        font-size: 14px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }

    nav {
        padding: 10px 16px;
    }

    .nav-left li a {
        font-size: 14px;
    }

    .main-content {
        padding: 16px;
    }

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

    .login-title {
        font-size: 22px;
    }

    input[type="text"], input[type="password"] {
        padding: 10px;
        font-size: 15px;
    }

    .radio-group label {
        font-size: 14px;
    }

    button {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .forgot-password a {
        font-size: 13px;
    }

    .error {
        font-size: 12px;
    }
}