| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/vhost/book.gyaniguru.org/css/ |
Upload File : |
/* ================================================================
GYANI GURU — Auth Pages CSS (Login & Register)
================================================================ */
/* ---- Auth Body ---- */
.auth-body {
min-height: 100vh;
background: var(--gradient-divine);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
padding: 20px;
}
/* ---- Animated Background Particles ---- */
.auth-bg {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
}
.auth-particle {
position: absolute;
background: var(--gold);
border-radius: 50%;
opacity: 0;
animation: auth-float linear infinite;
}
@keyframes auth-float {
0% { bottom: -10%; opacity: 0; transform: translateX(0) rotate(0deg); }
10% { opacity: 0.5; }
90% { opacity: 0.4; }
100% { bottom: 110%; opacity: 0; transform: translateX(40px) rotate(360deg); }
}
/* ---- Back Button ---- */
.auth-back-btn {
position: fixed;
top: 20px;
left: 20px;
z-index: 100;
background: rgba(212, 175, 55, 0.15);
border: 1px solid rgba(212, 175, 55, 0.4);
color: var(--gold-light);
padding: 8px 18px;
border-radius: 50px;
font-size: 0.85rem;
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.3s;
backdrop-filter: blur(10px);
}
.auth-back-btn:hover {
background: var(--gold);
color: var(--dark-bg);
transform: translateX(-3px);
}
/* ---- Auth Wrapper & Container ---- */
.auth-wrapper {
position: relative;
z-index: 1;
width: 100%;
max-width: 1000px;
margin: 60px auto 20px;
}
.auth-container {
display: grid;
grid-template-columns: 1fr 1.3fr;
background: transparent;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.2);
min-height: 600px;
}
.auth-container-register {
grid-template-columns: 1fr 1.5fr;
}
/* ---- Brand Panel (Left) ---- */
.auth-brand-panel {
background: var(--gradient-saffron);
position: relative;
overflow: hidden;
padding: 50px 40px;
display: flex;
flex-direction: column;
justify-content: center;
}
.auth-brand-art {
position: absolute;
font-family: 'Inter', sans-serif;
font-size: 18rem;
color: rgba(26,10,0,0.08);
right: -80px;
bottom: -60px;
line-height: 1;
user-select: none;
pointer-events: none;
}
.auth-brand-content { position: relative; z-index: 1; }
.auth-om-symbol {
font-size: 3rem;
margin-bottom: 12px;
display: block;
animation: pulse-glow 3s ease-in-out infinite;
}
.auth-brand-title {
font-family: 'Inter', sans-serif; font-weight: 800;
font-size: 1.8rem;
color: var(--dark-bg);
font-weight: 700;
margin-bottom: 4px;
}
.auth-brand-sub {
font-family: 'Inter', sans-serif;
font-size: 1rem;
color: rgba(26,10,0,0.7);
margin-bottom: 20px;
}
.auth-brand-divider {
color: rgba(26,10,0,0.5);
font-size: 1.2rem;
margin-bottom: 20px;
letter-spacing: 8px;
}
.auth-brand-quote {
font-family: 'Inter', sans-serif;
font-size: 1.1rem;
color: var(--dark-bg);
font-weight: 600;
line-height: 1.6;
margin-bottom: 30px;
}
.auth-brand-quote span {
font-size: 0.9rem;
opacity: 0.75;
}
.auth-brand-stats {
display: flex;
gap: 20px;
padding-top: 20px;
border-top: 1px solid rgba(26,10,0,0.15);
}
.auth-stat { text-align: center; }
.auth-stat-num {
display: block;
font-family: 'Inter', sans-serif; font-weight: 800;
font-size: 1.5rem;
color: var(--dark-bg);
font-weight: 700;
line-height: 1;
}
.auth-stat-lbl { font-size: 0.7rem; color: rgba(26,10,0,0.65); font-weight: 600; }
/* Benefits list (register) */
.auth-benefits {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 12px;
}
.auth-benefits li {
display: flex;
align-items: center;
gap: 10px;
font-size: 0.88rem;
color: var(--dark-bg);
font-weight: 500;
}
.auth-benefits li i { color: var(--maroon); font-size: 0.9rem; flex-shrink: 0; }
/* ---- Form Panel (Right) ---- */
.auth-form-panel {
background: var(--warm-white);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
}
.auth-form-inner {
padding: 50px 45px;
width: 100%;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
overflow-y: auto;
}
/* ---- Form Header ---- */
.auth-logo-mini { margin-bottom: 20px; }
.auth-form-title {
font-family: 'Inter', sans-serif; font-weight: 700;
font-size: 1.8rem;
color: var(--gerua-dark);
margin-bottom: 6px;
}
.auth-form-subtitle {
color: var(--text-light);
font-size: 0.9rem;
margin-bottom: 24px;
}
.auth-form-header { margin-bottom: 4px; }
/* ---- Form Fields ---- */
.auth-field-group { margin-bottom: 18px; }
.auth-label {
display: block;
font-size: 0.82rem;
font-weight: 600;
color: var(--text-dark);
margin-bottom: 8px;
letter-spacing: 0.3px;
}
.auth-input-wrap {
position: relative;
display: flex;
align-items: center;
}
.auth-input-icon {
position: absolute;
left: 14px;
color: var(--text-light);
font-size: 0.95rem;
z-index: 1;
transition: color 0.3s;
}
.auth-input {
width: 100%;
background: white;
border: 1.5px solid var(--cream-dark);
border-radius: 10px;
padding: 12px 42px 12px 40px;
font-size: 0.9rem;
color: var(--text-dark);
transition: all 0.3s;
outline: none;
font-family: 'Poppins', sans-serif;
}
.auth-input::placeholder { color: var(--text-light); font-size: 0.85rem; }
.auth-input:focus {
border-color: var(--gerua);
box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}
.auth-input:focus + .auth-input-icon,
.auth-input-wrap:focus-within .auth-input-icon {
color: var(--gerua);
}
.auth-input.input-error { border-color: #e74c3c; }
.auth-input.input-success { border-color: #27ae60; }
.auth-eye-btn {
position: absolute;
right: 12px;
background: none;
border: none;
color: var(--text-light);
cursor: pointer;
padding: 4px;
transition: color 0.2s;
display: flex;
align-items: center;
}
.auth-eye-btn:hover { color: var(--gerua); }
/* ---- Error/Success ---- */
.auth-field-error {
display: block;
color: #e74c3c;
font-size: 0.78rem;
margin-top: 5px;
min-height: 16px;
transition: all 0.2s;
}
/* ---- Alerts ---- */
.auth-alert {
border-radius: 10px;
padding: 12px 16px;
font-size: 0.85rem;
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 10px;
font-weight: 500;
}
.auth-alert-error { background: rgba(231,76,60,0.1); color: #c0392b; border: 1px solid rgba(231,76,60,0.25); }
.auth-alert-success { background: rgba(39,174,96,0.1); color: #27ae60; border: 1px solid rgba(39,174,96,0.25); }
/* ---- Meta Row (Remember/Forgot) ---- */
.auth-meta-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
font-size: 0.84rem;
}
.auth-remember {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
color: var(--text-medium);
user-select: none;
}
.auth-remember input[type="checkbox"] {
accent-color: var(--gerua);
width: 16px;
height: 16px;
cursor: pointer;
}
.auth-forgot {
color: var(--gerua-dark);
text-decoration: none;
font-weight: 600;
transition: color 0.2s;
}
.auth-forgot:hover { color: var(--gerua); }
/* ---- Terms ---- */
.auth-terms { margin-bottom: 20px; font-size: 0.84rem; }
/* ---- Submit Button ---- */
.auth-submit-btn {
width: 100%;
background: var(--gradient-saffron);
color: var(--dark-bg);
border: none;
border-radius: 10px;
padding: 14px;
font-size: 0.95rem;
font-weight: 700;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
position: relative;
overflow: hidden;
letter-spacing: 0.3px;
font-family: 'Poppins', sans-serif;
}
.auth-submit-btn::before {
content: '';
position: absolute;
top: 0; left: -100%;
width: 100%; height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
transition: left 0.5s;
}
.auth-submit-btn:hover::before { left: 100%; }
.auth-submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}
.auth-submit-btn:active { transform: translateY(0); }
/* ---- Spinner ---- */
.spinner {
display: inline-block;
width: 18px;
height: 18px;
border: 2px solid rgba(26,10,0,0.3);
border-top-color: var(--dark-bg);
border-radius: 50%;
animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ---- OR Divider ---- */
.auth-or {
text-align: center;
margin: 20px 0;
position: relative;
}
.auth-or::before, .auth-or::after {
content: '';
position: absolute;
top: 50%;
width: 40%;
height: 1px;
background: var(--cream-dark);
}
.auth-or::before { left: 0; }
.auth-or::after { right: 0; }
.auth-or span {
background: var(--warm-white);
padding: 0 12px;
font-size: 0.8rem;
color: var(--text-light);
position: relative;
z-index: 1;
}
/* ---- Social Buttons ---- */
.auth-social-row {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.auth-social-btn {
flex: 1;
background: white;
border: 1.5px solid var(--cream-dark);
border-radius: 10px;
padding: 11px;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-dark);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: all 0.3s;
font-family: 'Poppins', sans-serif;
}
.auth-social-btn:hover {
border-color: var(--gerua);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(210, 105, 30, 0.1);
}
/* ---- Switch Text ---- */
.auth-switch-text {
text-align: center;
font-size: 0.88rem;
color: var(--text-light);
margin: 0;
}
.auth-switch-link {
color: var(--gerua-dark);
font-weight: 700;
text-decoration: none;
}
.auth-switch-link:hover { color: var(--gerua); }
/* ---- Password Strength ---- */
.pwd-strength-bar {
height: 4px;
background: var(--cream-dark);
border-radius: 2px;
margin-top: 8px;
overflow: hidden;
}
.pwd-strength-fill {
height: 100%;
width: 0;
border-radius: 2px;
transition: all 0.4s ease;
}
.pwd-strength-label {
font-size: 0.75rem;
font-weight: 600;
margin-top: 4px;
display: block;
}
/* ---- Inline Forgot Password Modal ---- */
.auth-modal-overlay {
position: fixed;
inset: 0;
background: rgba(26,10,0,0.7);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
backdrop-filter: blur(4px);
}
.auth-modal-overlay.active {
opacity: 1;
pointer-events: all;
}
.auth-modal {
background: var(--warm-white);
border-radius: 20px;
padding: 35px;
max-width: 420px;
width: 90%;
box-shadow: 0 30px 80px rgba(0,0,0,0.4);
transform: scale(0.9);
transition: transform 0.3s;
border: 1px solid rgba(212,175,55,0.2);
}
.auth-modal-overlay.active .auth-modal { transform: scale(1); }
.auth-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
font-family: 'Inter', sans-serif; font-weight: 700;
font-size: 1.1rem;
color: var(--gerua-dark);
}
.auth-modal-close {
background: none;
border: none;
color: var(--text-light);
cursor: pointer;
font-size: 1rem;
padding: 4px;
transition: color 0.2s;
}
.auth-modal-close:hover { color: var(--maroon); }
.auth-modal-text { color: var(--text-light); font-size: 0.88rem; margin-bottom: 16px; }
/* ---- Responsive ---- */
@media (max-width: 768px) {
.auth-container, .auth-container-register {
grid-template-columns: 1fr;
}
.auth-brand-panel { padding: 30px 25px; min-height: auto; }
.auth-brand-art { font-size: 10rem; }
.auth-brand-title { font-size: 1.4rem; }
.auth-brand-stats { gap: 15px; }
.auth-form-inner { padding: 30px 25px; }
.auth-wrapper { margin-top: 50px; }
.auth-form-title { font-size: 1.5rem; }
}
@media (max-width: 480px) {
.auth-social-row { flex-direction: column; }
.auth-form-inner { padding: 24px 20px; }
}