/* Login Page Styles */ .login-content { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 120px 20px 20px 20px; background: linear-gradient(135deg, var(--primary-light) 0%, white 100%); } .login-container { width: 100%; max-width: 450px; background: white; border-radius: 24px; box-shadow: 0 20px 60px rgba(79, 71, 71, 0.15); padding: 50px 40px; position: relative; overflow: hidden; } .login-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent-teal), var(--accent-green)); } .login-header { text-align: center; margin-bottom: 40px; } .login-icon { font-size: 64px; margin-bottom: 20px; display: block; } .login-title { font-size: 32px; color: var(--primary-dark); margin-bottom: 10px; font-weight: 600; } .login-subtitle { color: var(--primary-mid); font-size: 16px; line-height: 1.5; } .login-form { margin-bottom: 30px; } .login-form .form-group { position: relative; margin-bottom: 25px; } .login-form .form-group label { display: block; margin-bottom: 8px; color: var(--primary-dark); font-weight: 500; font-size: 14px; } .login-form .form-group input { width: 100%; padding: 14px 45px 14px 18px; border: 2px solid rgba(119, 119, 100, 0.2); border-radius: 12px; font-size: 16px; transition: all 0.3s ease; background: var(--primary-light); color: var(--primary-dark); outline: none; } .login-form .form-group input:focus { border-color: var(--accent-teal); background: white; box-shadow: 0 0 0 4px rgba(38, 166, 154, 0.15); } .input-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--primary-mid); pointer-events: none; } .password-toggle { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--primary-mid); cursor: pointer; padding: 4px; border-radius: 4px; transition: all 0.3s ease; } .password-toggle:hover { background: rgba(119, 119, 100, 0.1); color: var(--primary-dark); } .form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-size: 14px; } .checkbox-label { display: flex; align-items: center; cursor: pointer; color: var(--primary-dark); } .checkbox-label input[type="checkbox"] { display: none; } .checkbox-custom { width: 18px; height: 18px; border: 2px solid rgba(119, 119, 100, 0.3); border-radius: 4px; margin-right: 8px; position: relative; transition: all 0.3s ease; } .checkbox-label input[type="checkbox"]:checked + .checkbox-custom { background: var(--accent-teal); border-color: var(--accent-teal); } .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 12px; font-weight: bold; } .forgot-password { color: var(--accent-teal); text-decoration: none; font-weight: 500; transition: color 0.3s ease; } .forgot-password:hover { color: var(--primary-dark); } .login-btn-submit { width: 100%; padding: 16px; background: var(--accent-teal); color: white; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px; } .login-btn-submit:hover:not(:disabled) { background: #1e8e82; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(38, 166, 154, 0.3); } .login-btn-submit:disabled { opacity: 0.7; cursor: not-allowed; } .btn-loading svg { animation: spin 1s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .login-divider { text-align: center; margin: 30px 0; position: relative; } .login-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(119, 119, 100, 0.2); } .login-divider span { background: white; padding: 0 20px; color: var(--primary-mid); font-size: 14px; position: relative; } .social-login { margin-bottom: 30px; } .social-btn { width: 100%; padding: 14px; border: 2px solid rgba(119, 119, 100, 0.2); border-radius: 12px; background: white; color: var(--primary-dark); font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 12px; } .social-btn:hover { border-color: var(--primary-mid); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(79, 71, 71, 0.1); } .google-btn:hover { border-color: #4285f4; background: #f8f9fa; } .login-footer { text-align: center; font-size: 14px; color: var(--primary-mid); } .login-footer a { color: var(--accent-teal); text-decoration: none; font-weight: 500; transition: color 0.3s ease; } .login-footer a:hover { color: var(--primary-dark); } /* Messages */ .success-message, .error-message { position: absolute; top: 0; left: 0; right: 0; padding: 20px; text-align: center; transform: translateY(-100%); transition: transform 0.3s ease; z-index: 10; } .success-message.show, .error-message.show { transform: translateY(0); } .success-message { background: linear-gradient(135deg, #e8f5e8, #d4edda); color: #2e7d32; } .error-message { background: linear-gradient(135deg, #ffebee, #f8d7da); color: #c62828; } .success-icon, .error-icon { font-size: 48px; margin-bottom: 10px; display: block; } .success-message h3, .error-message h3 { margin-bottom: 5px; font-size: 18px; } .success-message p, .error-message p { margin: 0; font-size: 14px; } /* Login Button Styles */ .login-btn { background: transparent; border: 2px solid var(--primary-dark); color: var(--primary-dark); padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; } .login-btn:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); } .register-btn { background: transparent; border: 2px solid var(--primary-dark); color: var(--primary-dark); padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; } .register-btn:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); } /* Register Button (White version) */ .login-btn.register { background: transparent; border: 2px solid white; color: white; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; } .login-btn.register:hover { background: white; color: var(--primary-dark); transform: translateY(-2px); } /* Ensure login button is white on register page */ body .login-btn { background: transparent !important; border: 2px solid white !important; color: white !important; } body .login-btn:hover { background: white !important; color: var(--primary-dark) !important; } /* Form Row for Two Columns */ .form-row { display: flex; gap: 15px; margin-bottom: 24px; } .form-row .form-group { flex: 1; margin-bottom: 0; } /* Password Strength Indicator */ .password-strength { margin-top: 8px; display: flex; align-items: center; gap: 10px; } .strength-bar { flex: 1; height: 4px; background: #e0e0e0; border-radius: 2px; overflow: hidden; } .strength-bar::before { content: ''; display: block; height: 100%; width: 0%; transition: width 0.3s ease, background-color 0.3s ease; background: #f44336; } .strength-text { font-size: 12px; color: var(--primary-mid); } /* Password Strength Levels */ .strength-weak .strength-bar::before { width: 33%; background: #f44336; } .strength-medium .strength-bar::before { width: 66%; background: #ff9800; } .strength-strong .strength-bar::before { width: 100%; background: #4caf50; } .strength-weak .strength-text { color: #f44336; } .strength-medium .strength-text { color: #ff9800; } .strength-strong .strength-text { color: #4caf50; } /* Terms Links */ .terms-link { color: var(--accent-teal); text-decoration: none; font-weight: 500; } .terms-link:hover { text-decoration: underline; } /* Responsive Design */ @media (max-width: 768px) { .login-content { padding: 100px 15px 20px 15px; } .login-container { padding: 40px 30px; margin: 0 10px; } .login-icon { font-size: 56px; } .login-title { font-size: 28px; } .login-subtitle { font-size: 14px; } .form-options { flex-direction: column; align-items: flex-start; gap: 15px; } .social-btn { font-size: 14px; } } @media (max-width: 480px) { .login-container { padding: 30px 20px; } .login-title { font-size: 24px; } .login-form .form-group input { font-size: 16px; padding: 12px 40px 12px 15px; } .input-icon, .password-toggle { right: 15px; } }