/* ============================================================
   AUTHENTICATION PAGES — Login / Register / Reset Password
   Extracted from style.css and SAFE to separate
============================================================ */

/* Core container for small auth screens */
.content.narrow {
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 5vw 3rem;
}

/* --------------------------------------------
   FORM CARD (used on all auth pages)
--------------------------------------------- */
.form-card {
    background: rgba(20,20,20,0.94);
    padding: 1.35rem 1.6rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 14px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(18px);
}

.form-card label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.form-card input,
.form-card textarea,
.form-card select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.7rem;
    border: 1px solid var(--border);
    background: rgba(10,10,10,0.9);
    color: var(--text);
    font-size: 0.9rem;
}

.form-card textarea {
    resize: vertical;
}

/* --------------------------------------------
   ALERTS (errors + success)
--------------------------------------------- */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.alert.error {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.4);
}

.alert.success {
    background: rgba(40, 220, 140, 0.12);
    border: 1px solid rgba(40,220,140,0.4);
}

/* --------------------------------------------
   PASSWORD VISIBILITY TOGGLE
--------------------------------------------- */
.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    width: 100%;
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

.password-toggle svg {
    pointer-events: none;
}

/* --------------------------------------------
   REMEMBER ME SWITCH
--------------------------------------------- */
.remember-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 20px;
    cursor: pointer;
    user-select: none;
}

.remember-wrapper input {
    display: none;
}

.remember-switch {
    width: 42px;
    height: 22px;
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
    position: relative;
    transition: background 0.25s ease;
}

.remember-switch::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.remember-checkbox:checked + .remember-switch {
    background: var(--accent);
}

.remember-checkbox:checked + .remember-switch::after {
    transform: translateX(20px);
}

.remember-label {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.85;
}

.login-form .remember-wrapper {
    margin-bottom: 0.9rem !important;
	display: flex;
}

/* --------------------------------------------
   BUTTONS (same as site, but kept for isolation)
--------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    color: var(--text);
    transition: filter .18s ease, background .18s ease, border-color .18s ease;
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn:hover {
    filter: brightness(1.05);
}

/* --------------------------------------------
   SMALL LINKS (Forgot password, login now, etc.)
--------------------------------------------- */
.link-forgot,
.link-small {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
}

.link-forgot:hover,
.link-small:hover {
    text-decoration: underline;
}

/* --------------------------------------------
   NOTES (small grey helper text)
--------------------------------------------- */
.note {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* --------------------------------------------
   REGISTER PLAN SUMMARY CARD
--------------------------------------------- */
.card {
    background: rgba(20,20,20,0.94);
    border-radius: 1.15rem;
    padding: 1.35rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}

.card h2 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.card p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Modern checkbox container */
.optin-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    cursor: pointer;
    user-select: none;
}

/* Hide native checkbox */
.optin-wrap input {
    display: none;
}

/* Custom checkbox box */
.optin-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .22s ease;
}

/* Checkmark (hidden by default) */
.optin-box::after {
    content: "✓";
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.6);
    transition: 0.22s;
}

/* When checked */
.optin-wrap input:checked + .optin-box {
    background: var(--accent);
    border-color: var(--accent);
}

.optin-wrap input:checked + .optin-box::after {
    opacity: 1;
    transform: scale(1);
}

/* Text */
.optin-text {
    font-size: 0.85rem;
    color: var(--muted);
	margin-left: .2rem;
}
.summary-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 18px;
    cursor: pointer;
    line-height: 0;
    font-weight: 600;
    transition: background .2s;
}

.qty-btn:hover {
    background: rgba(255,255,255,0.25);
}

.remove-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: rgba(255,60,60,0.25);
    color: #ff4c4c;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
}

.remove-btn:hover {
    background: rgba(255,60,60,0.35);
}

.summary-total {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    color: #fff;
}
.checkout-summary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 25px;
  max-width: 420px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.summary-total {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  color: #fff;
}
.summary-title {
  font-size: 15px;
  color: #fff;
}
.summary-price {
  margin-top: 4px;
  color: #bbb;
  font-size: 14px;
}




