/* CF Auth Modal (Airbnb-like, minimal + clean) */
.cf-auth-modal{position:fixed;inset:0;z-index:9999;display:none;}
.cf-auth-modal.is-open{display:block;}
.cf-auth-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.35);backdrop-filter:saturate(120%) blur(2px);}
.cf-auth-dialog{
  position:relative;margin:6vh auto 0;max-width:520px;background:#fff;border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);padding:14px 14px 16px;overflow:hidden;
}
.cf-auth-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6; /* Light background for contrast */
  color: #333; /* Dark color for visibility */
  font-size: 20px;
  line-height: 32px; /* Align the '×' */
  cursor: pointer;
  z-index: 10000; /* Ensure it's on top of the modal */
}

.cf-auth-close:hover {
  background: #6d28d9; /* Change color on hover */
  color: white; /* Make the 'X' white on hover */
}

.cf-auth-close:focus {
  outline: none; /* Remove default focus outline */
}


.cf-auth-header{padding:6px 8px 8px;text-align:center;}
.cf-auth-title{margin:6px 0 4px;font-size:22px;}
.cf-auth-sub{margin:0;color:#5f6368;font-size:14px;}

.cf-auth-tabs{display:flex;gap:6px;justify-content:center;padding:8px 0 4px;}
.cf-auth-tabs button{
  background:#f2f3f5;border:1px solid #e5e7eb;border-radius:999px;padding:6px 12px;cursor:pointer;font-weight:700;color: #111;
}
.cf-auth-tabs button.is-active{background:#111;color:#fff;border-color:#111;}

.cf-auth-body{padding:8px 12px 10px;}
.cf-auth-form{display:grid;gap:10px;}
.cf-auth-form.is-hidden{display:none;}
.cf-auth-form label span{display:block;font-size:12px;color:#5f6368;margin-bottom:4px;}
.cf-auth-form input[type="text"],
.cf-auth-form input[type="email"],
.cf-auth-form input[type="password"]{
  width:100%;padding:10px 12px;border:1px solid #dfe3e8;border-radius:10px;font-size:14px;
}
.cf-auth-remember{display:flex;align-items:center;gap:8px;font-size:13px;color:#374151;}
.cf-auth-btn{
  background:#111;color:#fff;border:0;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer;
}
.cf-auth-btn:disabled{opacity:.6;cursor:not-allowed;}
.cf-auth-error{min-height:18px;color:#b00020;font-size:13px;}

.cf-auth-social{margin-top:8px;}
.cf-auth-sep{display:flex;align-items:center;gap:10px;color:#6b7280;font-size:12px;margin:8px 0;}
.cf-auth-sep:before,.cf-auth-sep:after{content:'';flex:1;height:1px;background:#e5e7eb;}
.cf-auth-social-row{display:grid;gap:8px;}
.cf-auth-social-btn{width:100%;background:#fff;border:1px solid #dfe3e8;border-radius:10px;padding:10px 12px;font-weight:700;cursor:not-allowed;color:#000;}
.cf-auth-foot{margin:4px 10px 8px;color:#9aa0a6;font-size:12px;text-align:center;}
@media (max-width:480px){
  .cf-auth-dialog{margin:0;inset:auto 0 0 0;border-bottom-left-radius:0;border-bottom-right-radius:0;max-width:none;}
}
.cf-auth-social{margin-bottom:12px;}
.cf-auth-sep{display:flex; align-items:center; gap:8px; margin:10px 0;}
.cf-auth-sep:before,.cf-auth-sep:after{content:""; flex:1; height:1px; background:#e5e7eb;}
.cf-auth-sep span{font-size:12px; color:#6b7280;}
/* Style the forgot password link */
.cf-forgot-password-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 10px;
    color: #111; /* Primary link color */
    text-decoration: none;
    font-weight: bold;
    padding: 4px 8px;
    background-color: #f1f1f1;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: background-color 0.3s ease;
}

.cf-forgot-password-link:hover {
    background-color: #e1e1e1; /* Slight hover effect */
    border-color: #888;
}

.cf-forgot-password-link:focus {
    outline: none;
    border-color: #0073aa; /* Focus effect */
}
/* === CF Auth: force live look for Google button === */
.cf-auth-social.is-live .cf-auth-social-btn {
  opacity: 1;              /* undo any muted/disabled opacity */
  filter: none;
  pointer-events: auto;    /* just in case a generic disabled block was applied */
  cursor: pointer;
}

/* anchors should render like buttons */
a.cf-auth-social-btn {
  display: block;
  text-align: center;
}

/* optional micro-hover so it feels “alive” */
.cf-auth-social.is-live .cf-auth-social-btn:hover {
  transform: translateY(-1px);
}
