/* Login and Signup Pages 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;
}

/* Login page background */
body.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;
}

/* Signup page background */
body.signup-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../asset/cover4.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: 15px 30px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

.nav-icon {
  height: 45px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.nav-links a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #FF6B35;
}

.nav-links a.active {
  color: #FF6B35;
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #FF6B35 0%, #D32F2F 100%);
  border-radius: 1px;
}

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

/* ─── FORM CARD ─── */
.form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 50px 60px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 450px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #FF6B35 0%, #D32F2F 100%);
}

.form-card h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  position: relative;
}

.form-card h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #FF6B35 0%, #D32F2F 100%);
  border-radius: 2px;
}

/* ─── FORM STYLING ─── */
.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

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

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

.input-group input::placeholder {
  color: #999;
}

/* ─── BUTTON STYLING ─── */
.btn {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(135deg, #FF6B35 0%, #D32F2F 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

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

/* ─── MESSAGE STYLING ─── */
.form-message {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.form-message.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.form-message.success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

/* ─── LINK STYLING ─── */
.link {
  text-align: center;
  margin-top: 25px;
  color: #666;
}

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

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

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

  .nav-links {
    gap: 20px;
  }

  .form-card {
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    margin: 20px;
  }

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

@media (max-width: 480px) {
  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

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

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