@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
    min-height: 100vh;
    margin: 0;
}

.main-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 18px 0 0 0;
    margin-bottom: 0;
    min-height: 70px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-left: 40px;
}
.header-right {
    display: flex;
    align-items: center;
    margin-right: 40px;
    height: 100%;
}
.logo-link img {
    width: 48px;
    height: 48px;
}
.logo-link span {
    font-size: 22px;
    font-weight: 700;
    color: #004e8f;
    letter-spacing: 1px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-box {
    background: #fff;
    padding: 40px 32px 32px 32px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 350px;
    text-align: center;
}

h2 {
    color: #2563eb;
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 700;
}

.input-group {
    margin-bottom: 18px;
    text-align: left;
}
.input-group label {
    font-size: 15px;
    color: #555;
    margin-bottom: 6px;
    display: block;
}
.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #d1e3f8;
    margin-top: 5px;
    font-size: 16px;
    background-color: #f1f9fd;
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #2563eb 60%, #4A90E2 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}
.btn:hover {
    background: linear-gradient(90deg, #1d4ed8 60%, #357ABD 100%);
}

.links {
    margin-top: 18px;
}
.links a {
    color: #2563eb;
    font-size: 15px;
    text-decoration: none;
    margin: 0 10px;
}
.links a:hover {
    text-decoration: underline;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 10px;
}

.go-back-btn {
    /* Remove absolute positioning */
    position: static;
    top: unset;
    left: unset;
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    z-index: 1;
    margin: 0;
}
.go-back-btn:hover {
    background-color: #0056b3;
}

.show-password-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -10px;
    margin-bottom: 10px;
}
.show-password-group input[type="checkbox"] {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
    margin: 0;
}
.show-password-group label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

@media (max-width: 600px) {
    .login-box {
        width: 95vw;
        padding: 18px 6px 14px 6px;
    }
    .main-header {
        padding: 8px 0 0 0;
    }
    .logo-link {
        margin-left: 10px;
    }
    .header-right {
        margin-right: 10px;
    }
} 