/* =======================================================================================
   GENZO TITAN MEMBERSHIP — GM FRONTEND UI (CLEAN/FULL)
   File: public_html/wp-content/plugins/genzo-titan-membership/assets/css/gm-frontend.css
   Scope: Base UI + Alerts + Auth Forms + Small utilities + Notification dropdown
======================================================================================= */

/* -------------------------
   0) ROOT TOKENS (SAFE)
------------------------- */
:root{
  --gm-bg: #06070b;
  --gm-card: rgba(14,16,24,0.72);
  --gm-card-strong: rgba(14,16,24,0.86);
  --gm-border: rgba(255,255,255,0.10);
  --gm-border-strong: rgba(255,255,255,0.16);
  --gm-text: rgba(255,255,255,0.92);
  --gm-text-soft: rgba(255,255,255,0.72);
  --gm-muted: rgba(255,255,255,0.55);

  --gm-accent: #ff7f24;
  --gm-accent-soft: rgba(255,127,36,0.18);
  --gm-accent-border: rgba(255,127,36,0.35);

  --gm-danger: #ff3b57;
  --gm-success: #2ee59d;
  --gm-info: #62a8ff;
  --gm-warning: #ffb020;

  --gm-radius: 16px;
  --gm-radius-sm: 12px;

  --gm-shadow: 0 18px 50px rgba(0,0,0,0.50);
  --gm-shadow-soft: 0 12px 30px rgba(0,0,0,0.35);

  --gm-focus: 0 0 0 4px rgba(255,127,36,0.18);
}

/* -------------------------
   1) BASE WRAPPERS
------------------------- */
.gm-app{
  color: var(--gm-text);
}

.gm-auth-page{
  padding: 26px 16px;
}

.gm-glass{
  background: var(--gm-card);
  border: 1px solid var(--gm-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gm-shadow-soft{ box-shadow: var(--gm-shadow-soft); }
.gm-shadow-medium{ box-shadow: var(--gm-shadow); }

/* -------------------------
   2) ALERTS (USED IN LOADER)
------------------------- */
.gm-alert{
  border: 1px solid var(--gm-border);
  background: rgba(255,255,255,0.05);
  padding: 12px 14px;
  border-radius: var(--gm-radius-sm);
  font-size: 14px;
  line-height: 1.45;
  color: var(--gm-text);
}

.gm-alert a{
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gm-alert-warning{
  border-color: rgba(255,176,32,0.35);
  background: rgba(255,176,32,0.10);
}

.gm-alert-danger{
  border-color: rgba(255,59,87,0.35);
  background: rgba(255,59,87,0.10);
}

.gm-alert-info{
  border-color: rgba(98,168,255,0.30);
  background: rgba(98,168,255,0.10);
}

/* Old dashboard fallback boxes */
.gm-error-box{
  border: 1px solid rgba(255,59,87,0.35);
  background: rgba(255,59,87,0.10);
  color: rgba(255,255,255,0.92);
  padding: 14px 16px;
  border-radius: var(--gm-radius-sm);
}

/* -------------------------
   3) AUTH LAYOUT (LOGIN/REGISTER/FORGOT/RESET)
------------------------- */
.gm-auth-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.gm-login-wrapper{
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 12px;
}

.gm-auth-card,
.gm-login-card{
  position: relative;
  width: 100%;
  border-radius: var(--gm-radius);
  background: linear-gradient(180deg, var(--gm-card-strong), rgba(10,12,18,0.66));
  border: 1px solid var(--gm-border-strong);
  box-shadow: var(--gm-shadow);
  padding: 22px 20px;
  overflow: hidden;
}

.gm-auth-card::before,
.gm-login-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(255,127,36,0.12), transparent 60%),
    radial-gradient(520px 220px at 80% 20%, rgba(98,168,255,0.10), transparent 62%),
    radial-gradient(520px 220px at 50% 110%, rgba(46,229,157,0.06), transparent 60%);
  pointer-events:none;
}

.gm-login-title{
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.94);
}

/* -------------------------
   4) AUTH FEEDBACK BOXES
------------------------- */
.gm-login-errors{
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,59,87,0.35);
  background: rgba(255,59,87,0.10);
  border-radius: var(--gm-radius-sm);
  padding: 10px 12px;
  margin: 10px 0 14px;
}

.gm-login-errors p{
  margin: 0 0 6px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
}
.gm-login-errors p:last-child{ margin-bottom:0; }

.gm-login-success{
  position: relative;
  z-index: 1;
  border: 1px solid rgba(46,229,157,0.30);
  background: rgba(46,229,157,0.10);
  border-radius: var(--gm-radius-sm);
  padding: 10px 12px;
  margin: 10px 0 14px;
}
.gm-login-success p{
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
}

/* -------------------------
   5) FORM ELEMENTS
------------------------- */
.gm-login-form{
  position: relative;
  z-index: 1;
}

.gm-field{
  display: block;
  margin-bottom: 12px;
}

.gm-field label{
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--gm-text-soft);
  letter-spacing: 0.2px;
}

.gm-field input,
.gm-field textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .06s ease;
}

.gm-field textarea{
  resize: vertical;
  min-height: 110px;
}

.gm-field input::placeholder,
.gm-field textarea::placeholder{
  color: rgba(255,255,255,0.45);
}

.gm-field input:focus,
.gm-field textarea:focus{
  border-color: rgba(255,127,36,0.35);
  box-shadow: var(--gm-focus);
}

.gm-field input:active{
  transform: translateY(0.5px);
}

.gm-field-checkbox{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.gm-field-checkbox input{
  accent-color: var(--gm-accent);
  transform: scale(1.05);
}

/* -------------------------
   6) BUTTONS + LINKS
------------------------- */
.gm-login-btn{
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,127,36,0.35);
  background: linear-gradient(180deg, rgba(255,127,36,0.26), rgba(255,127,36,0.12));
  color: rgba(255,255,255,0.96);
  font-weight: 800;
  letter-spacing: 0.25px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: 0 14px 30px rgba(255,127,36,0.12);
}

.gm-login-btn:hover{
  border-color: rgba(255,127,36,0.55);
  box-shadow: 0 18px 40px rgba(255,127,36,0.16);
}

.gm-login-btn:active{
  transform: translateY(1px);
}

.gm-login-links{
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.gm-login-links a{
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}

.gm-login-links a:hover{
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,127,36,0.55);
}

/* -------------------------
   7) SMALL UTILITIES
------------------------- */
.gm-ripple{
  position: relative;
  overflow: hidden;
}

.gm-ripple::after{
  content: "";
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.gm-ripple:active::after{
  transform: translate(-50%,-50%) scale(18);
  opacity: 1;
  transition: transform .55s ease, opacity .8s ease;
}

/* Responsive */
@media (max-width: 520px){
  .gm-login-card, .gm-auth-card{ padding: 18px 16px; }
  .gm-login-title{ font-size: 22px; }
}

/* =======================================================================================
   8) NOTIFICATION ICON + DROPDOWN (AS-IS FROM YOUR FILE)
======================================================================================= */

/* =============================
   BILDIRIM IKONU + DROPDOWN
============================= */

.gm-notify-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 16px;
    font-size: 14px;
}

.gm-notify-icon {
    cursor: pointer;
    position: relative;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gm-notify-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    background: #ff7f24;
    color: #000;
    padding: 0 4px;
}

.gm-notify-dropdown {
    position: absolute;
    right: 0;
    top: 120%;
    width: 320px;
    background: rgba(15,15,20,0.96);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    padding: 10px;
    display: none;
    z-index: 9999;
}

.gm-notify-dropdown.open {
    display: block;
}

.gm-notify-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.gm-notify-head button {
    font-size: 11px;
    border: none;
    background: rgba(255,127,36,0.18);
    color: #ffb36a;
    padding: 3px 8px;
    border-radius: 999px;
    cursor: pointer;
}

.gm-notify-list {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.gm-notify-item {
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    border: 1px solid transparent;
}

.gm-notify-item.unread {
    background: rgba(255,127,36,0.08);
    border-color: rgba(255,127,36,0.35);
}

.gm-notify-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.gm-notify-msg {
    font-size: 12px;
    opacity: .8;
    margin-bottom: 4px;
}

.gm-notify-link {
    font-size: 12px;
    color: #ffb36a;
    text-decoration: none;
}

.gm-notify-empty,
.gm-notify-loading {
    font-size: 12px;
    opacity: .7;
    padding: 10px;
    text-align: center;
}
