* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6eeff 100%);
    color: #2d3748;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-width: 390px;
    min-height: 600px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 81, 171, 0.15);
    padding: 0;
}

.left-panel {
	flex: 1;
	background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
	/* 2025-12-23: add background */
	background-image: url('/images/login_bg.png');
	background-size: cover;
	color: white;
	padding: 40px;
	display: flex;
	flex-direction: column;
	/* 2025-12-23: add background */	
	/* justify-content: center; */
	position: relative;
	overflow: hidden;
}

.left-panel::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.left-panel::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.left-panel h2 {
	font-size: 36px;/*font-size: 32px;*/
	font-weight: 550;
	margin-bottom: 20px;	
	color: white;
}

.logo {
	margin-top: 40px;
	margin-bottom: 40px;/*margin-bottom: 30px;*/
    font-size: 28px;
    font-weight: bold;
    z-index: 1;
    display: flex;
    align-items: center;
}

.logo-icon {
    background: white;
    color: #1976D2;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.left-content {
    max-width: 100%;
    z-index: 1;
}

.left-content h1 {
    font-size: 22px;/*font-size: 32px;*/
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

.left-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.features {
    list-style: none;
    margin-top: 40px;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 16px;
}

.features i {
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #fff;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.login-form-container h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1976D2;
    font-weight: 700;
}

.mobile-header-login {
    display: none;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #4a5568; /*color: #1976D2;*/
}

.mobile-logo .logo-icon {
    background: #1976D2;
    color: white;
}

.subheading {
    color: #666;
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.5;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.social-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    margin-right: 12px;
    font-size: 18px;
}

.google-btn i {
    background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 73% 55%/150% 150% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.apple-btn i {
    color: #000;
    font-size: 20px;
}

.line-btn {
    line-height: 26px;    
}

.line-btn i {
    color: #06C755;
    font-size: 26px;
}

.login-top-container {
    /* background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px 10px 20px 20px;
}

.login-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(to right, #4568dc, #b06ab3);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.login-header h1 {
    font-weight: 600;
    font-size: 28px;
    color: white;
    margin-bottom: 10px;
}

.login-header p {
    opacity: 0.9;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.divider-text {
    padding: 0 15px;
    color: #777;
    font-size: 14px;
}

.general-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-container {
    padding: 0 30px 30px 30px;
    display: none;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f9fbfd;
    height: 55px;
}

.form-group input:focus {
    border-color: #1976D2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
    background: white;
}

.btn-submit {
    background:#1976D2;
    color: white;
    font-weight: 600;
    padding: 15px;
    margin-top: 10px;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.back-btn,.signup-back-btn {
    background: none;
    border: none;
    color: #4568dc;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.back-btn i,.signup-back-btn i {
    margin-right: 5px;
}

.login-footer {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #eee;
}

.login-footer a {
    color: #4568dc;
    text-decoration: none;
}

.remember-forgot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
}

.remember input {
    margin-right: 8px;
    accent-color: #1976D2;
}

.forgot-password {
    color: #1976D2;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 16px;
    background-color: #1976D2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(25, 118, 210, 0.2);
}

.login-button:hover {
    background-color: #1565C0;
    box-shadow: 0 6px 10px rgba(25, 118, 210, 0.25);
}

.signup-link {
    text-align: center;
    margin-top: 30px;
    color: #718096;
    font-size: 15px;
}

.signup-link a {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.help-link {
    text-align: center;
    margin-top: 20px;
    color: #718096;
    font-size: 14px;
}

.help-link a {
    color: #1976D2;
    text-decoration: none;
}

.help-link a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .left-panel {
        display: none;
    }
    
    .right-panel {
        padding: 30px 20px;
    }
    
    .mobile-header-login {
        display: flex;
    }
    
    .login-form-container h2 {
        display: none;
    }
    
    .subheading {
        text-align: center;
        margin-bottom: 25px;
    }
}