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

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    background-color: #ffffff;
    display: block;
}

.main-container {
    background-color: #ffffff !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    z-index: 999;
}

.main-container .login-box {
    background: #ffffff;
    padding: 60px 50px; 
    border-radius: 20px;
    border: 1px solid #f0f0f0; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: auto;
}

.main-container .header {
    margin-bottom: 40px;
}

.main-container .login-icon {
    font-size: 56px;
    color: #2563eb;
    margin-bottom: 20px;
    display: inline-block;
}

.main-container h2 {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.main-container .subtitle {
    color: #4b5563;
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}

.main-container .input-group {
    position: relative;
    margin-bottom: 25px;
    text-align: left;
}

.main-container .input-group input {
    width: 100%;
    height: 55px;
    padding: 0 50px 0 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: #1f2937;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-container .input-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.main-container .toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
}

.main-container .login-btn {
    width: 100%;
    height: 55px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.main-container .login-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.main-container .error-message {
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    padding-left: 4px;
}

.main-container .message-box {
    display: none;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    margin-bottom: 15px;
}

.main-container .back-to-login {
    display: inline-block;
    margin-top: 35px;
    color: #2563eb !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.main-container .back-to-login:hover {
    text-decoration: underline;
}