﻿body{

margin:0;

font-family:Arial;

background:linear-gradient(135deg,#28c76f,#1fa463);

min-height:100vh;

display:flex;

flex-direction:column;

}



/* HEADER */

.header{

display:flex;

justify-content:space-between;

align-items:center;

padding:20px 60px;

background:rgba(255,255,255,0.15);

backdrop-filter:blur(10px);

border-bottom:1px solid rgba(255,255,255,0.3);

}

.logo img{

width:38px;

}

.nav a{

color:white;

margin-left:25px;

text-decoration:none;

font-weight:500;

}



/* MAIN */

.main{

flex:1;

display:flex;

flex-direction:column;

align-items:center;

margin-top:40px;

gap:40px;

}



/* CARD */

.card{

background:white;

padding:40px;

border-radius:16px;

box-shadow:0 20px 50px rgba(0,0,0,0.25);

width:420px;

text-align:center;

}



/* EMAIL BOX */

.email-box{

background:#f5f7fa;

padding:12px;

border-radius:8px;

margin-bottom:20px;

font-size:18px;

}



/* BUTTONS */

.buttons{

display:flex;

justify-content:center;

gap:15px;

}

.btn{

border:none;

padding:10px 22px;

border-radius:8px;

color:white;

cursor:pointer;

font-weight:600;

transition:0.3s;

}

.copy{

background:#28c76f;

}

.change{

background:#1fa463;

}

.btn:hover{

transform:scale(1.08);

}



/* MESSAGE */

.message{

margin-top:20px;

background:#e9fff1;

padding:10px;

border-radius:6px;

display:none;

color:#1fa463;

font-weight:600;

}



/* INBOX */

.inbox-card{
width:700px;
text-align:left;
margin-bottom:20px;
}

.inbox-title{

margin-bottom:20px;

}



.inbox-table{

width:100%;

border-collapse:collapse;

}

.inbox-table th{

padding:12px;

background:#f5f7fa;

text-align:left;

}

.inbox-table td{

padding:12px;

border-bottom:1px solid #eee;

}



/* FOOTER */

.footer{

text-align:center;

padding:35px;

background:rgba(0,0,0,0.18);

color:white;

border-top:1px solid rgba(255,255,255,0.35);

margin-top:20px;

}

.footer-links a{

margin:0 15px;

color:white;

text-decoration:none;

}

.popup{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,0.5);

display:none;

justify-content:center;

align-items:center;

}

.popup-content{

background:white;

padding:30px;

border-radius:10px;

width:400px;

text-align:center;

}

/* inbox row hover effect */

.inbox-table tbody tr{

cursor:pointer;

transition:0.3s;

}

.inbox-table tbody tr:hover{

background:#f2fff7;

transform:scale(1.01);

}


/* subject icon */

.inbox-table td:nth-child(2)::before{

content:"📩 ";

font-size:14px;

}

.popup{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,0.6);

display:none;

justify-content:center;

align-items:center;

}

.popup-content{

background:white;

padding:40px;

border-radius:12px;

text-align:center;

width:400px;

}

.otp-code{

font-size:40px;

font-weight:bold;

color:#28c76f;

margin:20px 0;

}

.timer-box{

background:#f3fff7;

padding:10px;

border-radius:8px;

margin-bottom:15px;

font-weight:bold;

color:#28c76f;

}

#timer{

font-size:18px;

margin-left:10px;

}

.timer-box{

background:linear-gradient(135deg,#e8fff2,#f3fff7);

padding:12px;

border-radius:10px;

margin-bottom:18px;

font-weight:600;

color:#28c76f;

display:flex;

justify-content:center;

align-items:center;

gap:10px;

}

#timer{

font-size:22px;

font-weight:bold;

letter-spacing:1px;

animation:timerPulse 1s infinite;

}

@keyframes timerPulse{

0%{opacity:1}

50%{opacity:0.6}

100%{opacity:1}

}

.new-mail{

background:#e9fff1;

animation:newMailFlash 1.5s ease;

}

@keyframes newMailFlash{

0%{background:#b8f5d0}

100%{background:#e9fff1}

}

.new-badge{

background:#28c76f;

color:white;

font-size:11px;

padding:2px 6px;

border-radius:4px;

margin-left:6px;

}

.auth-box{

width:420px;

text-align:center;

}

.auth-box input{

width:100%;

padding:12px;

margin-bottom:12px;

border-radius:6px;

border:1px solid #ddd;

}

.divider{

margin:15px 0;

font-size:14px;

color:#777;

}

.google-btn{

width:100%;

padding:10px;

background:white;

border:1px solid #ddd;

border-radius:6px;

margin-bottom:10px;

cursor:pointer;

display:flex;

align-items:center;

justify-content:center;

gap:10px;

}

.facebook-btn{

width:100%;

padding:10px;

background:#1877f2;

color:white;

border:none;

border-radius:6px;

cursor:pointer;

display:flex;

align-items:center;

justify-content:center;

gap:10px;

}

.google-btn img,
.facebook-btn img{

width:18px;

}

/* NAV BUTTON STYLE */

.nav a{

position:relative;

padding:6px 14px;

border:1px solid rgba(255,255,255,0.4);

border-radius:20px;

transition:0.3s;

}

.nav a:hover{

background:white;

color:#28c76f;

transform:translateY(-2px);

box-shadow:0 6px 15px rgba(0,0,0,0.15);

}

.nav a:active{

transform:scale(0.95);

}

.switch-text{

font-size:13px;

margin-top:10px;

}

.switch-text a{

color:#28c76f;

font-weight:bold;

cursor:pointer;

}

.google-btn,
.facebook-btn{

width:100%;
padding:12px;
background:white;
border:1px solid #ddd;
border-radius:6px;
margin-bottom:10px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
gap:10px;
transition:0.3s;

}

.google-btn:hover,
.facebook-btn:hover{

background:#f5f5f5;
transform:translateY(-2px);

}

.google-btn img,
.facebook-btn img{

width:18px;

}

/* AUTH POPUP BUTTON SPACING FIX */

.auth-box button{

margin-top:10px;

}

.close-btn{

margin-top:15px;

background:#28c76f;

color:white;

border:none;

padding:10px;

border-radius:6px;

cursor:pointer;

width:100%;

}

.close-btn:hover{

background:#22b864;

}

/* ===== MODERN POPUP GLASS EFFECT ===== */

.popup{

backdrop-filter: blur(6px);

background: rgba(0,0,0,0.45);

}

.popup-content{

background: rgba(255,255,255,0.95);

border-radius:12px;

padding:30px;

box-shadow:0 15px 40px rgba(0,0,0,0.2);

animation: popupFade 0.3s ease;

}

@keyframes popupFade{

from{

transform:scale(0.9);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}



/* ===== SOCIAL LOGIN BUTTONS ===== */

.google-btn,
.facebook-btn{

width:100%;

padding:10px;

background:white;

border:1px solid #e5e5e5;

border-radius:6px;

margin-top:8px;

cursor:pointer;

display:flex;

align-items:center;

justify-content:center;

gap:8px;

font-size:13px;

color:#333;

transition:all 0.25s ease;

}

.google-btn:hover,
.facebook-btn:hover{

background:#f7f7f7;

transform:translateY(-2px);

box-shadow:0 6px 18px rgba(0,0,0,0.12);

}

.google-btn img,
.facebook-btn img{

width:18px;

}



/* ===== HEADER NAV BUTTONS ===== */

.nav a{

padding:6px 14px;

border:1px solid rgba(255,255,255,0.4);

border-radius:20px;

transition:all 0.25s ease;

font-size:14px;

}

.nav a:hover{

background:white;

color:#28c76f;

transform:translateY(-2px);

box-shadow:0 6px 18px rgba(0,0,0,0.15);

}



/* ===== CLOSE BUTTON FIX ===== */

.close-btn{

margin-top:15px;

width:100%;

background:#28c76f;

color:white;

border:none;

padding:10px;

border-radius:6px;

cursor:pointer;

transition:0.25s;

}

.close-btn:hover{

background:#22b864;

}

/* AUTH INPUT FIX */

.auth-box{

width:420px;

margin:auto;

text-align:center;

}

.auth-box input{

width:100%;

padding:12px;

margin:10px 0;

border-radius:6px;

border:1px solid #ddd;

box-sizing:border-box;

}

.auth-box input:focus{

border-color:#28c76f;

outline:none;

box-shadow:0 0 6px rgba(40,199,111,0.3);

}

.phone-btn,
.google-btn{

display:flex;
align-items:center;
justify-content:center;
gap:10px;

width:100%;
padding:12px;

border-radius:8px;
border:1px solid #ddd;

background:white;
cursor:pointer;

font-weight:600;
font-size:14px;

transition:0.2s;

}

.phone-btn:hover,
.google-btn:hover{

background:#f5f5f5;

}

.google-btn img{

width:18px;

}

.mobile-login-box{

margin-top:25px;
padding:20px;
background:#f5f5f5;
border-radius:10px;

}

.mobile-row{

display:flex;
gap:10px;

}

.mobile-row select{

width:120px;
padding:10px;

}

.mobile-row input{

flex:1;
padding:10px;

}

#sendOTP,
#verifyOTP,
#resendOTP{

margin-top:10px;
padding:10px;
width:100%;
background:#4CAF50;
color:white;
border:none;
border-radius:6px;
cursor:pointer;

}

#resendOTP{

background:#999;

}