/* BACAGRATIS ACCOUNT PROFILE V1 */
.account-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  flex-wrap:wrap;
}

.account-nav a{
  color:#0f172a;
  font-weight:750;
  text-decoration:none;
}

.account-profile-link{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
}

.account-avatar{
  width:34px;
  height:34px;
  border-radius:999px;
  object-fit:cover;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  color:#fff;
  font-weight:850;
  border:1px solid #dbeafe;
}

.account-avatar.fallback{
  box-shadow:0 8px 22px rgba(37,99,235,.18);
}

.account-logout-form{
  margin:0;
  display:inline-flex;
}

.account-logout-btn{
  min-height:38px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid #fecaca;
  background:#fff;
  color:#dc2626;
  font-weight:800;
  cursor:pointer;
}

.account-logout-btn:hover{
  background:#fef2f2;
}

.account-register-btn{
  min-height:38px!important;
  padding:0 16px!important;
}

.profile-page{
  padding:52px 0 76px;
}

.profile-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}

.profile-head h1{
  margin:0 0 8px;
  font-size:clamp(34px,4vw,56px);
  letter-spacing:-.055em;
}

.eyebrow{
  margin:0 0 8px;
  color:#2563eb;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
}

.profile-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:22px;
  align-items:start;
}

.profile-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:24px;
  box-shadow:0 18px 50px rgba(15,23,42,.06);
  padding:26px;
}

.profile-card h2{
  margin:0 0 6px;
  font-size:24px;
  letter-spacing:-.035em;
}

.profile-card label{
  display:block;
  margin-top:18px;
  color:#0f172a;
  font-weight:800;
}

.input.full{
  width:100%;
  margin-top:8px;
}

.avatar-row{
  display:flex;
  align-items:center;
  gap:18px;
  margin:22px 0 4px;
  padding:16px;
  border:1px dashed #bfdbfe;
  background:#eff6ff;
  border-radius:20px;
}

.profile-avatar{
  width:96px;
  height:96px;
  border-radius:28px;
  object-fit:cover;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  color:#fff;
  font-size:34px;
  font-weight:900;
  box-shadow:0 18px 38px rgba(37,99,235,.18);
  flex:0 0 auto;
}

.file-label{
  margin:0!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  background:#fff;
  color:#2563eb!important;
  border:1px solid #bfdbfe;
  cursor:pointer;
}

.file-label input{
  display:none;
}

.help-text{
  margin:8px 0 0;
  color:#64748b;
  font-size:13px;
}

.form-actions{
  margin-top:24px;
}

.alert{
  padding:16px 18px;
  border-radius:18px;
  margin:18px 0;
  border:1px solid;
}

.alert.success{
  background:#ecfdf5;
  color:#047857;
  border-color:#bbf7d0;
}

.alert.danger{
  background:#fef2f2;
  color:#991b1b;
  border-color:#fecaca;
}

.alert ul{
  margin:8px 0 0;
}

.danger-text{
  color:#dc2626!important;
}

.profile-note{
  margin-top:22px;
  padding:16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
}

@media(max-width:900px){
  .profile-grid{
    grid-template-columns:1fr;
  }

  .profile-head{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:760px){
  .account-nav{
    width:100%;
    justify-content:flex-start;
    gap:12px;
  }

  .avatar-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .profile-card{
    padding:20px;
    border-radius:20px;
  }
}

.admin-account-box{
  margin-top:28px;
  padding:16px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}

.admin-profile-link{
  display:flex!important;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  color:#0f172a!important;
}

.admin-profile-link span{
  min-width:0;
}

.admin-profile-link strong,
.admin-profile-link small{
  display:block;
}

.admin-profile-link small{
  color:#64748b;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
