/* =========================
GRIFFEN EDUSMART PREMIUM UI
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
--primary:#4f46e5;
--secondary:#7c3aed;
--success:#10b981;
--dark:#0f172a;
--text:#334155;
--bg:#f8fafc;
--white:#ffffff;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:
radial-gradient(circle at top left,#7c3aed15,transparent 35%),
radial-gradient(circle at bottom right,#2563eb15,transparent 35%),
#f8fafc;
color:var(--text);
}

/* AUTH AREA */

.griffen-main{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:40px 20px;
}

.griffen-box{
width:100%;
max-width:1150px;
background:rgba(255,255,255,.92);
backdrop-filter:blur(20px);
border-radius:35px;
overflow:hidden;
display:flex;
box-shadow:
0 20px 60px rgba(0,0,0,.08);
}

/* LEFT */

.griffen-left{
width:50%;
padding:70px;
color:#fff;
background:linear-gradient(
135deg,
#4f46e5,
#7c3aed,
#2563eb
);
background-size:300% 300%;
animation:gradientMove 8s ease infinite;
display:flex;
flex-direction:column;
justify-content:center;
}

@keyframes gradientMove{
0%{background-position:0% 50%;}
50%{background-position:100% 50%;}
100%{background-position:0% 50%;}
}

.griffen-badge{
display:inline-block;
background:rgba(255,255,255,.15);
padding:10px 18px;
border-radius:50px;
font-size:14px;
margin-bottom:25px;
width:max-content;
}

.griffen-left h1{
font-size:58px;
font-weight:800;
line-height:1.1;
margin-bottom:20px;
}

.griffen-left p{
font-size:18px;
opacity:.9;
}

/* RIGHT */

.griffen-right{
width:50%;
padding:70px;
display:flex;
flex-direction:column;
justify-content:center;
}

.griffen-right h2{
font-size:36px;
font-weight:700;
margin-bottom:30px;
color:var(--dark);
}

/* FORM */

.griffen-form{
display:flex;
flex-direction:column;
gap:18px;
}

.griffen-form input{
padding:16px 18px;
border:none;
border-radius:16px;
background:#fff;
box-shadow:
0 5px 15px rgba(0,0,0,.05);
font-size:15px;
transition:.3s;
}

.griffen-form input:focus{
outline:none;
transform:translateY(-2px);
box-shadow:
0 10px 25px rgba(79,70,229,.15);
}

.griffen-form button{
padding:16px;
border:none;
border-radius:16px;
cursor:pointer;
font-size:16px;
font-weight:600;
color:#fff;
background:linear-gradient(
135deg,
#4f46e5,
#7c3aed
);
box-shadow:
0 12px 30px rgba(79,70,229,.25);
transition:.3s;
}

.griffen-form button:hover{
transform:translateY(-3px);
}

.griffen-switch{
text-decoration:none;
text-align:center;
margin-top:5px;
color:var(--primary);
font-weight:600;
}

/* ERROR */

.griffen-error{
background:#fee2e2;
color:#dc2626;
padding:14px;
border-radius:15px;
margin-bottom:20px;
font-weight:600;
}

/* PAYMENT PAGE */

.griffen-payment{
max-width:950px;
margin:50px auto;
background:#fff;
padding:40px;
border-radius:30px;
box-shadow:
0 20px 50px rgba(0,0,0,.08);
}

.griffen-payment h1{
text-align:center;
font-size:42px;
margin-bottom:35px;
color:var(--dark);
}

.griffen-plan-wrap{
display:flex;
gap:20px;
margin-bottom:30px;
}

.griffen-plan{
flex:1;
padding:30px;
border-radius:25px;
background:#f8fafc;
text-align:center;
border:2px solid transparent;
}

.griffen-plan.active{
border-color:var(--primary);
background:#eef2ff;
}

.griffen-plan h2{
margin-bottom:12px;
}

.griffen-price{
font-size:42px;
font-weight:800;
color:var(--primary);
}

.griffen-bank-box{
padding:25px;
border-radius:20px;
background:#f8fafc;
margin-bottom:25px;
}

.griffen-bank-box h2{
margin-bottom:15px;
}

.griffen-bank-box p{
margin-bottom:10px;
line-height:1.8;
}

.griffen-payment form{
display:flex;
flex-direction:column;
gap:18px;
}

.griffen-payment input{
padding:16px;
border:none;
border-radius:15px;
background:#f8fafc;
}

.griffen-payment button{
padding:16px;
border:none;
border-radius:15px;
font-weight:600;
color:#fff;
cursor:pointer;
background:linear-gradient(
135deg,
#4f46e5,
#7c3aed
);
}

/* POPUP */

.griffen-lock-popup{
background:#fff;
border-radius:35px;
padding:40px 30px;
box-shadow:
0 25px 70px rgba(0,0,0,.18);
}

.griffen-logo{
width:90px;
height:90px;
margin:auto;
margin-bottom:20px;
border-radius:25px;
background:linear-gradient(
135deg,
#4f46e5,
#7c3aed
);
display:flex;
justify-content:center;
align-items:center;
font-size:38px;
font-weight:800;
color:#fff;
}

.griffen-lock-popup h2{
font-size:34px;
margin-bottom:12px;
}

.griffen-lock-popup p{
line-height:1.8;
margin-bottom:20px;
}

.griffen-lock-btn{
display:block;
width:100%;
padding:16px;
border-radius:18px;
text-decoration:none;
font-weight:600;
margin-bottom:12px;
}

.griffen-login-btn{
background:linear-gradient(
135deg,
#4f46e5,
#7c3aed
);
color:#fff;
}

.griffen-signup-btn{
background:#f1f5f9;
color:#111;
}

/* ADMIN */

.widefat{
border-radius:20px;
overflow:hidden;
margin-top:20px;
}

.widefat th{
background:#4f46e5;
color:#fff;
padding:15px;
}

.widefat td{
padding:15px;
}

/* MOBILE */

@media(max-width:900px){

.griffen-box{
flex-direction:column;
}

.griffen-left,
.griffen-right{
width:100%;
padding:40px;
}

.griffen-left h1{
font-size:40px;
}

.griffen-plan-wrap{
flex-direction:column;
}

.griffen-payment{
margin:20px;
padding:25px;
}

}