/* =========================
   GLOBAL BACKGROUND
========================= */
body{
  margin:0;
  font-family: 'Segoe UI', sans-serif;
  overflow-x:hidden;
  color:#222;
}

/* 🌈 Animated Gradient Background */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background: linear-gradient(-45deg,#ff9a9e,#fad0c4,#a18cd1,#fbc2eb,#84fab0,#8fd3f4);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

/* =========================
   HEADER
========================= */
.account-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding:15px 20px;
  background:rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  position:sticky;
  top:0;
  box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.account-header img{
  width:40px;
  height:40px;
  border-radius:50%;
}

/* =========================
   MAIN CONTAINER
========================= */
.account-container{
  max-width:900px;
  margin:auto;
  padding:20px;
}

/* =========================
   PROFILE CARD
========================= */
.profile-card{
  background:rgba(255,255,255,0.75);
  backdrop-filter: blur(15px);
  padding:25px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  transition:0.3s;
}

.profile-card:hover{
  transform:translateY(-5px);
}

.profile-avatar{
  width:110px;
  height:110px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid white;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* =========================
   TEXT
========================= */
h3{
  margin:10px 0;
}

p{
  color:#555;
  margin:5px 0;
}

/* =========================
   BUTTONS
========================= */
button{
  width:100%;
  padding:12px;
  margin-top:10px;
  border:none;
  border-radius:12px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

button:hover{
  transform:scale(1.02);
}

.logout-btn{
  background:#ff4d6d;
  color:white;
}

/* =========================
   EDIT PROFILE BLUE ONLINE TAG
========================= */
.edit-online{
  font-size:12px;
  color:#1d4ed8;
  font-weight:600;
  margin-top:5px;
}

/* =========================
   SETTINGS BOX
========================= */
#settingsBox{
  margin-top:15px;
  background:rgba(255,255,255,0.9);
  padding:20px;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

input{
  width:100%;
  padding:12px;
  margin:6px 0;
  border-radius:10px;
  border:1px solid #ddd;
  outline:none;
}

input:focus{
  border-color:#ff4d6d;
}

/* =========================
   GUIDE LOGIN FLOAT BUTTON (BOTTOM RIGHT SMALL)
========================= */
.guide-access{
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:999;
}

/* SMALL BUTTON */
.guide-open-btn{
  width:55px;
  height:55px;
  border-radius:50%;
  background:#111;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(0,0,0,0.3);
  position:relative;
}

/* ICON */
.guide-open-btn img{
  width:30px;
  height:30px;
}

/* SMALL LABEL */
.guide-open-btn span{
  position:absolute;
  bottom:-18px;
  font-size:10px;
  color:#333;
  font-weight:600;
}

/* LOGIN BOX */
.guide-login-box{
  position:absolute;
  bottom:75px;
  right:0;
  width:200px;
  background:white;
  padding:12px;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  display:none;
  flex-direction:column;
}

.guide-login-box input{
  padding:8px;
  margin:5px 0;
  border:1px solid #ddd;
  border-radius:8px;
}

.guide-login-box button{
  background:#111;
  color:white;
  padding:10px;
  border-radius:10px;
}

.edit-online{
  color:#1d4ed8;
  font-size:13px;
  font-weight:600;
  margin:10px 0;
  cursor:pointer;
  display:inline-block;
  transition:0.2s;
}

.edit-online:hover{
  text-decoration:underline;
  transform:scale(1.05);
}


/* =========================
   MINI LOGOUT CORNER BUTTON
========================= */
.logout-mini{
  position:absolute;
  top:15px;
  right:15px;

  width:auto;
  padding:6px 12px;
  font-size:11px;

  background:rgba(255, 77, 109, 0.15);
  color:#ff4d6d;
  border:1px solid rgba(255, 77, 109, 0.4);

  border-radius:999px;
  cursor:pointer;

  backdrop-filter: blur(10px);
  transition:0.3s;
}

.logout-mini:hover{
  background:#ff4d6d;
  color:white;
  transform:scale(1.05);
}

.back-btn{
  position: fixed;
  top: 70px;   /* ⬅️ yahan adjust kiya (logo ke neeche) */
  left: 12px;
  width: 40px;
  height: 40px;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #fff;
  font-size: 18px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

/* Hover effect */
.back-btn:hover{
  transform: scale(1.08);
  background: rgba(0,0,0,0.55);
  box-shadow: 
    0 12px 35px rgba(0,0,0,0.45),
    0 0 15px rgba(255,255,255,0.1);
}

/* Click effect */
.back-btn:active{
  transform: scale(0.95);
}


/* =========================
   PREMIUM TOP ALERT (SAME LOGIN STYLE)
========================= */

.top-alert{
  position:fixed;
  top:-120px;
  left:50%;
  transform:translateX(-50%) scale(0.9);
  padding:14px 20px;
  border-radius:16px;
  z-index:9999;
  transition:all 0.4s ease;
  font-size:14px;
  backdrop-filter: blur(12px);
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
  opacity:0;
  min-width:260px;
  max-width:90%;
}

/* SHOW */
.top-alert.show{
  top:20px;
  transform:translateX(-50%) scale(1);
  opacity:1;
}

/* SUCCESS */
.top-alert.success{
  background:linear-gradient(135deg,#d1fae5,#bbf7d0);
  color:#065f46;
  border:1px solid rgba(34,197,94,0.2);
  box-shadow:0 10px 30px rgba(34,197,94,0.25);
}

/* ERROR */
.top-alert.error{
  background:linear-gradient(135deg,#fee2e2,#fecaca);
  color:#7f1d1d;
  border:1px solid rgba(239,68,68,0.2);
  box-shadow:0 10px 30px rgba(239,68,68,0.25);
}

/* CONTENT */
.alert-content{
  display:flex;
  align-items:center;
  gap:12px;
}

/* ICON */
.alert-content svg{
  width:30px;
  height:30px;
  flex-shrink:0;
}

/* TEXT */
.alert-content span{
  font-weight:500;
  line-height:1.4;
}
