@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body (neutral) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== United Fragrances Auth Font Lock ===== */
body.uf-auth-body,
body.uf-auth-body *{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

body.uf-auth-body h1,
body.uf-auth-body h2,
body.uf-auth-body h3,
body.uf-auth-body .uf-auth-brand-title{
  font-family: "Playfair Display", serif !important;
}


html{ font-size:16px !important; }



/* =========================
   AUTH PAGES (Login/Register/Welcome)
   ========================= */

/* Page background + centering ONLY for auth pages */
.login-container,
.register-container,
.welcome-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Card Styles */
.login-card,
.register-card,
.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo h1 {
    color: #333;
    font-size: 2.2rem;
    font-weight: 600;
}

/* Forms */
.login-form,
.register-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 8px;
    color: #667eea;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 1.1rem;
}

.toggle-password:hover {
    color: #667eea;
}

/* Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    color: #555;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #667eea;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #667eea;
    border-color: #667eea;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 8px;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(245, 101, 101, 0.3);
}

.btn-block {
    width: 100%;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.button-group .btn {
    flex: 1;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #e8f7e8;
    color: #2a7;
    border: 1px solid #bde8bd;
}

/* Footer */
.login-footer,
.register-footer {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
}

.login-footer a,
.register-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover,
.register-footer a:hover {
    text-decoration: underline;
}

.login-footer p,
.register-footer p {
    margin: 8px 0;
}

/* User Types */
.user-types {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.user-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.user-type i {
    font-size: 1.8rem;
    color: #667eea;
}

/* Welcome Text */
.welcome-text {
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin: 20px 0;
    font-size: 1.05rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-store {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card,
    .register-card,
    .welcome-card {
        padding: 25px;
        margin: 10px;
    }

    .logo i { font-size: 3rem; }
    .logo h1 { font-size: 1.8rem; }

    .button-group { flex-direction: column; }

    .user-types {
        flex-direction: column;
        gap: 15px;
    }
}


/* =========================
   UNITED FRAGRANCES - AUTH THEME (Landing Style)
   Only affects pages using .uf-auth-* classes
   ========================= */

.uf-auth-body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#fff;
  color:#2A2A2A;
  min-height:100vh;
}

.uf-auth-header{
  position:fixed;
  top:0; left:0; width:100%;
  z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #E8E8E8;
  box-shadow:0 2px 10px rgba(15,26,58,.06);
}

.uf-auth-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.uf-auth-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:0;
}

.uf-auth-brand img{ height:46px; width:auto; max-width:100%; }

.uf-auth-brand-title{
  font-family:"Playfair Display", serif;
  font-weight:800;
  color:#0F1A3A;
  font-size:1.35rem;
  line-height:1;
  white-space:nowrap;
}
.uf-auth-brand-sub{
  font-size:.72rem;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:#8A6F4C;
  font-weight:700;
  margin-top:3px;
}

.uf-auth-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.uf-auth-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid #E8E8E8;
  background:rgba(248,245,240,.6);
  text-decoration:none;
  font-weight:800;
  color:#0F1A3A;
  white-space:nowrap;
}
.uf-auth-chip i{ color:#8A6F4C; }

.uf-auth-main{ padding-top:86px; }

.uf-auth-hero{
  padding:78px 0 52px;
  color:#fff;
  background:
    linear-gradient(135deg, rgba(15,26,58,.96), rgba(15,26,58,.84)),
    url('https://images.unsplash.com/photo-1541643600914-78b084683601?auto=format&fit=crop&w=2100&q=80');
  background-size:cover;
  background-position:center;
}

.uf-auth-hero-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}

.uf-auth-hero h1{
  font-family:"Playfair Display", serif;
  font-size:2.4rem;
  margin-bottom:10px;
}
.uf-auth-hero p{ opacity:.92; max-width:70ch; }

.uf-auth-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.uf-auth-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(184,154,114,.35);
  font-weight:800;
  font-size:.86rem;
}
.uf-auth-badge i{ color:#B89A72; }

.uf-auth-container{
  max-width:1200px;
  margin:-38px auto 0;
  padding:0 16px 70px;
}

.uf-auth-card{
  max-width:520px;
  margin:0 auto;
  background:#fff;
  border:1px solid #E8E8E8;
  border-radius:18px;
  box-shadow:0 18px 55px rgba(15,26,58,.18);
  padding:28px;
}

.uf-auth-card-head{
  text-align:center;
  margin-bottom:16px;
}

.uf-auth-icon{
  width:56px;
  height:56px;
  margin:0 auto 12px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(138,111,76,.10);
  border:1px solid rgba(138,111,76,.20);
  color:#8A6F4C;
  font-size:1.3rem;
}

.uf-auth-card h2{
  font-family:"Playfair Display", serif;
  font-size:1.9rem;
  color:#0F1A3A;
}
.uf-auth-card-head p{ opacity:.75; margin-top:6px; }

.uf-auth-alert{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:14px;
  border-radius:14px;
  margin:12px 0 16px;
  font-weight:800;
}
.uf-auth-alert i{ margin-top:2px; }

.uf-auth-alert-error{
  background:rgba(198,40,40,.08);
  border:1px solid rgba(198,40,40,.22);
  color:#C62828;
}

.uf-auth-form{ margin-top:6px; }

.uf-auth-group{ margin-bottom:14px; }

.uf-auth-group label{
  display:block;
  font-weight:900;
  color:#0F1A3A;
  font-size:.92rem;
  margin-bottom:8px;
}
.uf-auth-group label i{ color:#8A6F4C; margin-right:6px; }

.uf-auth-group input{
  width:100%;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid #E8E8E8;
  font:inherit;
  outline:none;
  background:#fff;
  transition:all .25s ease;
}
.uf-auth-group input:focus{
  border-color:#8A6F4C;
  box-shadow:0 0 0 3px rgba(138,111,76,.12);
}

.uf-auth-password{ position:relative; }

.uf-auth-eye{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid #E8E8E8;
  background:rgba(248,245,240,.7);
  cursor:pointer;
  color:#0F1A3A;
  transition:all .25s ease;
}
.uf-auth-eye:hover{ border-color:#8A6F4C; color:#8A6F4C; }

.uf-auth-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  font-size:.92rem;
  border:2px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition:all .25s ease;
}

.uf-auth-btn-solid{
  background:#8A6F4C;
  border-color:#8A6F4C;
  color:#fff;
}
.uf-auth-btn-solid:hover{
  background:#6B5438;
  border-color:#6B5438;
  transform:translateY(-2px);
  box-shadow:0 8px 30px rgba(15,26,58,.10);
}

.uf-auth-btn-outline{
  background:transparent;
  border-color:#8A6F4C;
  color:#8A6F4C;
}
.uf-auth-btn-outline:hover{
  background:#8A6F4C;
  color:#fff;
  transform:translateY(-2px);
}

.uf-auth-btn-block{ width:100%; }

.uf-auth-divider{
  height:1px;
  background:#E8E8E8;
  margin:16px 0;
}

.uf-auth-links{
  text-align:center;
  color:#555;
}
.uf-auth-links a{
  color:#8A6F4C;
  font-weight:900;
  text-decoration:none;
}
.uf-auth-links a:hover{ text-decoration:underline; }

.uf-auth-footer{
  padding:24px 0 30px;
  text-align:center;
  color:#666;
}
.uf-auth-footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
  opacity:.85;
}

/* Mobile */
@media (max-width: 700px){
  .uf-auth-chip{ display:none; }
  .uf-auth-brand-title{ font-size:1.15rem; }
  .uf-auth-hero h1{ font-size:2.05rem; }
  .uf-auth-card{ padding:20px; border-radius:16px; }
  .uf-auth-container{ padding-bottom:55px; }
}


/* Optional: 2-column layout for register only if you wrap fields in .uf-auth-grid */
.uf-auth-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media (max-width: 700px){
  .uf-auth-grid{ grid-template-columns:1fr; }
}


