@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-nav {
  padding: 10px 0;
  font-size: 14px;
}

.navbar {
  background-color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
  color: #0f21e7;
}

.navbar-brand .dot {
  color: #ff6a00;
}

/* Horizontal nav always */
.navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;       /* 🔒 Prevent wrapping on small screens */
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}


.navbar-nav .nav-item {
  flex: 0 0 auto;
  display: inline-block;
}

.navbar-nav .nav-link {
  padding: 10px 15px;
  font-weight: 500;
  color: #0f21e7;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ff6a00;
}

/* Login Card */
.login-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 30px;
  color: #fff;
}

/* Logo & Titles */
.login-logo {
  width: 100px;
  margin-bottom: 10px;
}

.login-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.login-subtitle {
  font-size: 16px;
  color: #f0f0f0;
}

/* Tabs - Always Horizontal */
.nav-tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  border-bottom: none;
}

.nav-tabs .nav-link {
  min-width: 120px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.nav-tabs .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffc107;
  border-bottom: 2px solid #ffc107;
}

/* Form Elements */
.form-label {
  color: #fff;
  font-weight: 500;
}

.form-control {
  width: 100%;
  border-radius: 8px;
  border: none;
  padding: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* Buttons */
.generate-btn {
  height: 50px;
  padding: 4px 20px;
  font-size: 14px;
  background: linear-gradient(to top, #2b32b2, #1488cc);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.generate-btn:hover {
  background: linear-gradient(to top, #1488cc, #2b32b2);
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

/* Links */
.login-link {
  color: #fff;
  text-decoration: underline;
}

/* Image Preview */
#preview {
  display: none;
  max-width: 150px;
  border: 3px solid #fff;
  border-radius: 10px;
  padding: 20px 3px;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Footer */
footer {
  margin-top: auto;
  background: rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

hr {
  border-top: 1px solid rgba(255,255,255,0.3);
}
