/* Admin Login Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  background: #000;
  min-height: 100vh;
  color: #1a1a1a;
}

body.admin-login-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../asset/cover1.png') no-repeat center center/cover;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  z-index: -1;
}

/* ─── MODERN HEADER ─── */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
}

.main-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-links a:hover {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
}

.nav-links a.active {
  background: #ff6b35;
  color: white;
}

/* ─── CONTENT WRAPPER ─── */
.content-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  z-index: 1;
  padding-top: 80px;
}

/* ─── FORM SECTION ─── */
.form-section {
  width: 100%;
  max-width: 450px;
  padding: 0 20px;
}

.form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-card h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── INPUT GROUPS ─── */
.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9rem;
}

.input-group label i {
  color: #ff6b35;
  width: 16px;
}

.input-group input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.input-group input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.input-group input::placeholder {
  color: #8b949e;
}

/* ─── BUTTONS ─── */
.btn {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.btn.primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn.primary:active {
  transform: translateY(0);
}

/* ─── FORM MESSAGES ─── */
.form-message {
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 15px;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* ─── LINKS ─── */
.link {
  text-align: center;
  margin-top: 20px;
  color: #6b7280;
  font-size: 0.9rem;
}

.link a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.link a:hover {
  color: #f7931e;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .main-header nav {
    padding: 15px 20px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .form-card {
    padding: 30px 25px;
    margin: 0 10px;
  }

  .form-card h2 {
    font-size: 1.75rem;
  }

  .content-wrapper {
    padding-top: 100px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .nav-icon {
    width: 35px;
    height: 35px;
  }

  .form-card {
    padding: 25px 20px;
  }

  .form-card h2 {
    font-size: 1.5rem;
  }
}
