:host { display: block } .auth-box { width: 49vw; border-radius: 14px; position: relative; overflow: hidden; display: flex; } .panel-right::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%); pointer-events: none; } .right-image { position: absolute; } .right-image img { width: 100%; height: 100%; display: block; } .panel-left { padding: clamp(22px,3.5vw,36px); background: white; color: black; position: relative; overflow: hidden; width: 100%; z-index: 1; } .brand-mark { width: 4vw; margin-bottom: 14px; border: 2px solid #b1b1b17d; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; border-radius: 50%; } .title { margin: 0 0 6px; font-size: clamp(22px,3vw,26px); font-weight: 700 } .form { display: grid; gap: 12px } .field { display: grid; gap: 6px; position: relative; } label { font-weight: 600; font-size: 13px; display: flex; align-items: center; flex-wrap: nowrap; white-space: nowrap; gap: 4px; } label .error { display: inline; margin-left: 0; flex-shrink: 0; } input[type="text"], input[type="password"] { color: #000000; border: 1px solid rgb(0 0 0 / 57%); border-radius: 10px; padding: 11px 12px; outline: none; } input::placeholder { color: #808080 } input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.25) } .error { color: red; font-size: 12px; display: block; width: 100%; } .btn { width: 100%; border-radius: 999px; padding: 12px 18px; cursor: pointer } .btn-primary { background: #0b0f1a; color: #fff; border: none; font-weight: 700 } .btn[aria-busy="true"] { opacity: .75; cursor: progress } .footnote { margin: 14px 0 0; font-size: 13px; } .footnote a { color: red; text-decoration: underline } .topTitle { display: flex; align-items: center; gap: 21px; } .topHeader { font-size: 1vw; } /* Password Input Container */ .password-input-container { position: relative; display: flex; align-items: center; } .password-input-container input { width: 100%; padding-right: 40px; } /* Password Toggle Eye Icon */ .password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; user-select: none; opacity: 0.6; transition: opacity 0.2s ease; font-size: 16px; z-index: 2; } .password-toggle:hover { opacity: 1; } .password-toggle.visible { opacity: 0.8; } /* Password Requirements Tooltip */ .password-tooltip { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; margin-top: 8px; } .tooltip-content { background: white; border: 1px solid #e9ecef; border-radius: 8px; padding: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); animation: fadeIn 0.2s ease-in-out; } .tooltip-content .requirement-title { font-weight: 600; color: #495057; display: block; margin-bottom: 8px; font-size: 12px; } .tooltip-content .requirement-list { list-style: none; padding: 0; margin: 0; } .tooltip-content .requirement-list li { font-size: 11px; color: #6c757d; margin: 4px 0; padding-left: 16px; position: relative; } .tooltip-content .requirement-list li:before { content: "•"; position: absolute; left: 6px; color: #6c757d; font-weight: bold; } /* Password Strength Indicator */ .password-strength { margin: 8px 0; width: 100%; } .strength-bar { height: 4px; background: #e0e0e0; border-radius: 2px; overflow: hidden; margin-bottom: 4px; } .strength-fill { height: 100%; transition: all 0.3s ease; width: 0%; } .strength-bar.weak .strength-fill { width: 25%; background: #ff4444; } .strength-bar.fair .strength-fill { width: 50%; background: #ffaa00; } .strength-bar.good .strength-fill { width: 75%; background: #00aa44; } .strength-bar.strong .strength-fill { width: 100%; background: #00aa44; } .strength-text { font-weight: 600; } .strength-text.weak { color: #ff4444; } .strength-text.fair { color: #ffaa00; } .strength-text.good { color: #00aa44; } .strength-text.strong { color: #00aa44; } /* Password Requirements */ .password-requirements { margin: 8px 0; padding: 8px; background: #f8f9fa; border-radius: 6px; border: 1px solid #e9ecef; width: 100%; } .requirement-title { font-weight: 600; color: #495057; display: block; margin-bottom: 6px; } .requirement-list { list-style: none; padding: 0; margin: 0; } .requirement-list li { font-size: 11px; color: #6c757d; margin: 2px 0; padding-left: 16px; position: relative; } .requirement-list li:before { content: "✗"; position: absolute; left: 0; color: #dc3545; } .requirement-list li.valid { color: #198754; } .requirement-list li.valid:before { content: "✓"; color: #198754; } /* Password Suggestions */ .password-suggestions { margin: 8px 0; padding: 8px; background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 6px; width: 100%; } .suggestion-title { font-weight: 600; color: #856404; display: block; margin-bottom: 6px; } .password-suggestions ul { list-style: none; padding: 0; margin: 0; } .password-suggestions li { font-size: 11px; color: #856404; margin: 2px 0; padding-left: 12px; position: relative; } .password-suggestions li:before { content: "•"; position: absolute; left: 0; font-weight: bold; } /* Success Animation Styles */ .success-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: white; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; animation: fadeIn 0.3s ease-in-out; border-radius: 14px; } .success-animation { width: 80px; height: 80px; margin-bottom: 20px; } .success-checkmark { width: 80px; height: 80px; margin: 0 auto; } .check-icon { width: 80px; height: 80px; position: relative; border-radius: 50%; box-sizing: content-box; border: 4px solid #4CAF50; } .check-icon::after { content: ''; position: absolute; background: white; border-radius: 50%; transform: scale(2); width: 80px; height: 80px; z-index: 1; animation: icon-circle 0.3s ease-in-out; animation-fill-mode: forwards; } .icon-line { height: 5px; background-color: #4CAF50; display: block; border-radius: 2px; position: absolute; z-index: 2; animation: icon-line 0.3s ease-in-out; animation-fill-mode: forwards; } .line-tip { top: 46px; left: 14px; width: 25px; transform: rotate(45deg); animation: icon-line-tip 0.3s ease-in-out; animation-fill-mode: forwards; } .line-long { top: 38px; right: 8px; width: 47px; transform: rotate(-45deg); animation: icon-line-long 0.3s ease-in-out; animation-fill-mode: forwards; } .success-message { font-size: 1.2rem; font-weight: 600; color: #4CAF50; text-align: center; animation: fadeInUp 0.5s ease-in-out 0.3s both; } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes icon-circle { 0% { transform: scale(2); } 100% { transform: scale(1); } } @keyframes icon-line-tip { 0% { width: 0; left: 1px; top: 19px; } 54% { width: 0; left: 1px; top: 19px; } 70% { width: 50px; left: -8px; top: 37px; } 84% { width: 17px; left: 21px; top: 48px; } 100% { width: 25px; left: 14px; top: 45px; } } @keyframes icon-line-long { 0% { width: 0; right: 46px; top: 54px; } 65% { width: 0; right: 46px; top: 54px; } 84% { width: 55px; right: 0px; top: 35px; } 100% { width: 47px; right: 8px; top: 38px; } } label small.error { display: inline; margin-left: 2px; } /* Pulse animation for sign-in footnote - color only (more visible) */ /*@keyframes pulseColor { 0% { color: #FFD600; }*/ /* warm bright yellow */ /*50% { color: #FFFFFF; }*/ /* white for maximum contrast on dark bg */ /*100% { color: #FFD600; }*/ /* back to yellow */ /*} .footnote a.pulse { animation: pulseColor 1s ease-in-out 0s 3;*/ /* 3 quick pulses */ /*display: inline-block; }*/ /* Responsive adjustments */ @media (min-width: 900px) { .auth-box { grid-template-columns: 520px 1fr; max-width: 1040px; /* 520px * 2 */ } .panel-left { width: 520px; } .panel-right { width: calc(100% - 520px); } } @media (max-width: 768px) { .auth-box { width: 90vw; min-width: unset; } .panel-left, .panel-right { width: 100%; } } @media (min-width: 769px) and (max-width: 1200px) { .auth-box { width: 70vw; } } /* Tooltip Errors */ .tooltip-errors { margin-top: 8px; border-top: 1px solid #e9ecef; padding-top: 8px; } .tooltip-errors .error { color: #dc3545; font-size: 11px; display: block; margin: 2px 0; } /* Additions for error tooltips */ .tooltip-error { position: relative; display: inline-block; cursor: pointer; } .tooltip-error:hover .tooltip-error-content { display: block; } .tooltip-error-content { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.9); border: 1px solid #dc3545; border-radius: 4px; padding: 8px; margin-top: 4px; z-index: 100; width: 200px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } /* Pulse animation for sign-in footnote - color only */ /*@keyframes pulseColor { 0% { color: #FFEA00;*/ /* initial */ /*} 50% { color: #F3BD00;*/ /* highlight */ /*} 100% { color: #FFEA00;*/ /* back to initial */ /*} } .footnote a.pulse { animation: pulseColor 1s ease-in-out 0s 3;*/ /* 3 quick pulses */ /*display: inline-block; }*/ /* Adjust tooltip content for additional elements */ .tooltip-content { background: white; border: 1px solid #e9ecef; border-radius: 8px; padding: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); animation: fadeIn 0.2s ease-in-out; max-width: 500px; } /* Password Requirements List in Tooltip */ .tooltip-left .requirement-list { list-style: none; padding: 0; margin: 0; } .tooltip-left .requirement-list li { font-size: 11px; color: #6c757d; margin: 4px 0; padding-left: 16px; position: relative; transition: color 0.3s ease; } .tooltip-left .requirement-list li:before { content: "✗"; position: absolute; left: 0; color: #dc3545; font-weight: bold; transition: all 0.3s ease; } .tooltip-left .requirement-list li.valid { color: #198754; } .tooltip-left .requirement-list li.valid:before { content: "✓"; color: #198754; } /* Tooltip Layout */ .tooltip-layout { display: flex; gap: 20px; min-width: 400px; } .tooltip-left { flex: 1; min-width: 200px; } .tooltip-right { flex: 1; min-width: 200px; } /* Error Messages in Tooltip */ .error-messages { margin-top: 12px; } .error-messages small.error { display: block; font-size: 11px; color: #dc3545; margin: 3px 0; line-height: 1.3; } /* Password Strength in Tooltip */ .tooltip-right .password-strength { margin: 0 0 12px 0; } .tooltip-right .strength-bar { height: 6px; margin-bottom: 6px; } .tooltip-right .strength-text { font-size: 11px; font-weight: 600; } /* Adjust tooltip content padding */ .tooltip-content { background: white; border: 1px solid #e9ecef; border-radius: 8px; padding: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); animation: fadeIn 0.2s ease-in-out; max-width: 500px; } .error-message { color: #d32f2f; background-color: #ffebee; border: 1px solid #f5c6cb; padding: 12px; border-radius: 4px; margin: 16px 0; text-align: center; font-size: 14px; } /* Add these styles at the end of the file, before the media queries */ .footnote-container { position: absolute; bottom: clamp(20px, 3vw, 30px); left: 0; right: 0; text-align: center; z-index: 10; padding: 0 clamp(15px, 3vw, 25px); } .footnote { margin: 0; font-size: clamp(12px, 1.2vw, 14px); color: white; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); background: rgb(16 29 32); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); padding: 10px 15px; border-radius: 8px; display: inline-block; max-width: 90%; border: 1px solid #00ffef; } .footnote a { color: #FFEA00; text-decoration: none; font-weight: 600; transition: color 0.2s ease; margin-left: 5px; text-transform: uppercase; } .footnote a:hover { color: #F3BD00; text-decoration: underline; } /* Remove old footnote styles from panel-left */ .panel-left .footnote { display: none; } /* Add to existing .panel-right styles */ .panel-right { position: relative; } .right-image { position: relative; width: 100%; height: 100%; } /* Update media queries for better positioning */ @media (min-width: 900px) { .auth-box { grid-template-columns: 520px 1fr; max-width: 1040px; } .panel-left { width: 520px; } .panel-right { width: calc(100% - 520px); position: relative; } .right-image { height: 100%; } } @media (max-width: 768px) { .footnote-container { bottom: 15px; } .footnote { font-size: 12px; padding: 8px 12px; } }