body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('../../images/HinhNen.jpg');
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed; 
}
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}
.login-card {
  border-radius: 20px;
  overflow: hidden; 
  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  width: 100%;
  animation: fadeIn 1s ease-out;
  position: relative;
  min-height: 600px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(30px) scale(0.98);}
  to {opacity: 1; transform: translateY(0) scale(1);}
}
.login-left {
  background: linear-gradient(180deg, #f8e042, #cd8a0d); 
  color: #fff;
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.login-left::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: floatLight 8s ease-in-out infinite alternate;
  top: -50%;
  left: -50%;
  z-index: -1;
}

@keyframes floatLight {
  from { transform: translate(0,0); }
  to { transform: translate(20px, 30px); }
}

.login-left .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 25px;
  color: #fff !important; 
}

.login-left .logo i {
  font-size: 30px;
}

.login-left h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  width: 100%;
}

.login-left p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.6;
}

.login-left img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  align-self: center;
}

.login-left .shopping-icon-art {
    font-size: 24px;
    opacity: 0.3;
    display: flex;
    gap: 20px;
    width: 100%;
}

.login-right {
  flex: 1;
  padding: 50px;
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.92); 
  backdrop-filter: blur(10px); 
}

.input-group {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 16px;
    z-index: 2;
}
.form-control {
  border-radius: 10px;
  padding: 12px 12px 12px 45px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  background-color: rgba(255,255,255,0.7); 
}
.form-control:focus {
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
  border-color: #667eea;
  background-color: #fff; 
}
.form-control:focus + .input-icon {
    color: #667eea;
}

.btn-login {
  background: linear-gradient(90deg, #667eea, #764ba2);
  border: none;
  border-radius: 10px;
  color: #fff;
  padding: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
  margin-top: 10px;
}
.btn-login:hover {
  background: linear-gradient(90deg, #764ba2, #667eea);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.or-line {
  text-align: center; color: #aaa; margin: 25px 0; position: relative;
}
.or-line::before, .or-line::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background-color: #ddd;
}
.or-line::before { left: 0; }
.or-line::after { right: 0; }

.social-btn {
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid #ddd;
  font-weight: 600; color: #555;
  transition: all 0.3s ease;
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
  border-color: #ccc;
}
.social-btn.facebook { border-color: #3b5998; background: #3b5998; color: #fff; }
.social-btn.google { border-color: #db4437; background: #db4437; color: #fff; }
.social-btn.facebook:hover { background: #324c83; }
.social-btn.google:hover { background: #c23326; }
.social-btn i { margin-right: 10px; font-size: 18px; }

.signup-text { text-align: center; margin-top: 20px; font-size: 15px; }
.signup-text a, #forgot-password {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.signup-text a:hover, #forgot-password:hover { text-decoration: underline; }

/* PHẦN MỚI THÊM CHO ADMIN */
.admin-access-area {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    text-align: center;
}
.admin-access-area a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}
.admin-access-area a:hover {
    color: #667eea;
    text-decoration: underline;
}

.form-wrapper {
    width: 100%;
    position: absolute; 
    top: 0; 
    left: 0; 
    padding: 50px; 
    opacity: 1; 
    transform: none; 
}

#register-form { z-index: 11; } 
#login-form { z-index: 11; }

@media (max-width: 768px) {
  .login-left {
    display: none;
  }
  .login-right {
    flex: 1 1 100%;
    padding: 40px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  }
  .form-wrapper {
      position: static;
      padding: 0 25px;
      top: 0;
      opacity: 1; 
      transform: none;
  }
  .login-card {
      box-shadow: none;
      border-radius: 0;
  }
  /* ... giữ nguyên các phần trên (sau class .signup-text) ... */

.signup-text a:hover, #forgot-password:hover { text-decoration: underline; }

/* PHẦN CHÈN THÊM: Style cho khu vực Admin */
.admin-access-area {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed #ddd; 
    text-align: center;
}
.admin-access-area a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}
.admin-access-area a:hover {
    color: #667eea; 
    text-decoration: underline;
}

/* -------- PHẦN HIỂN THỊ FORM (Giữ nguyên) -------- */
.form-wrapper {

}
}
