/* ==== RESET & FONT ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ==== BODY ==== */
body, html {
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
  color: #1e293b;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease;
  line-height: 1.6;
}

/* ==== LOGO HEADER ==== */
.logo-bar {
  display: flex;
  align-items: flex-start;
  padding: 20px 30px 5px;
  background: transparent;
  gap: 10px;
  flex-wrap: wrap;
}

.logo-bar img {
  height: 120px;
  max-height: 20vh;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* ==== CONTAINER ==== */
.container {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
}

/* ==== GLASS UI CARD ==== */
.glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
}

.glass:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* ==== LOGIN WRAPPER ==== */
.login-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.login-box {
  width: 100%;
  max-width: 360px;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.login-box input {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 14px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  outline: none;
  transition: background 0.3s ease;
}

.login-box input::placeholder {
  color: rgba(255,255,255,0.7);
}

.login-box input:focus {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
}

.login-box button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #00c896;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s ease;
}

.login-box button:hover {
  background: #02b087;
  transform: translateY(-2px);
}

.login-box button:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.facebook-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  background: #1877f2;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.facebook-btn:hover {
  background: #145fce;
  transform: translateY(-2px);
}

.divider {
  text-align: center;
  opacity: 0.6;
  margin: 10px 0;
}

/* ==== IMAGE ==== */
.image-box img {
  width: 380px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255,255,255,0.08);
  transition: transform 0.2s ease;
}

.image-box img:hover {
  transform: scale(1.02);
}

/* ==== SIDEBAR ==== */
.sidebar {
  width: 240px;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}

.sidebar h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.sidebar .menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.sidebar .menu a:hover,
.sidebar .menu a.active {
  background: rgba(255,255,255,0.1);
}

.logout-btn {
  background: rgba(255, 0, 0, 0.1);
  color: #f88;
  font-weight: bold;
}

/* ==== DASHBOARD CONTENT ==== */
.dashboard-panel {
  flex: 1;
  padding: 15px 0;
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.headline {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.subhead {
  font-size: 1rem;
  opacity: 0.75;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header .icon {
  width: 26px;
  height: 26px;
}

/* ==== BUTTONS ==== */
.btn-group {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.03);
}

.btn.primary {
  background: #00c896;
  color: #fff;
}

.btn.secondary {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ==== FOOTER ==== */
.footer-policy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
  flex-wrap: wrap;
}

.footer-policy a {
  color: #fff;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.footer-policy a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    padding: 20px 15px;
  }

  .login-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .image-box {
    display: none;
  }

  .dashboard-panel {
    padding-top: 15px;
  }
}

@media (max-width: 576px) {
  .login-box h2 {
    font-size: 1.4rem;
  }

  .login-box input,
  .login-box button,
  .facebook-btn {
    padding: 10px;
    font-size: 0.95rem;
  }

  .glass {
    padding: 16px;
  }

  .logo-bar {
    padding: 15px;
    justify-content: center;
    align-items: center;
  }

  .logo-bar img {
    height: 48px;
  }

  .logo-text {
    font-size: 1rem;
    text-align: center;
    width: 100%;
  }

  .footer-policy {
    font-size: 11.5px;
  }
}

/* ==== NEW STYLE ==== */
/* Style header to be transparent */
header {
  background: transparent !important;
  padding: 15px 20px !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header a {
  color: #333 !important;
  text-decoration: none;
}

header span {
  color: #333 !important;
  font-family: 'Inter', sans-serif !important;
}

.left-pane {
  width: 36%;
  min-width: 320px;
  background: rgba(255,255,255,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e5e7eb;
  box-shadow: 2px 0 16px rgba(0,0,0,0.04);
  padding: 0;
}

.login-container {
  width: 100%;
  max-width: 370px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 2.2rem 2rem 1.5rem 2rem;
  margin: 32px 0;
}

.login-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.brand-logo {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1877f2;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.login-subtitle {
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.93rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  background: #f8fafc;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #1877f2;
  background: #fff;
  box-shadow: 0 0 0 2px #1877f220;
}

.form-input::placeholder {
  color: #9ca3af;
}

.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.1rem;
}

.login-btn {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
  background: #166fe5;
  box-shadow: 0 4px 16px #1877f230;
}

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.divider {
  margin: 0.7rem 0 1.1rem 0;
}

.social-login {
  width: 100%;
  padding: 0.7rem;
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.social-login:hover {
  background: #145fce;
}

.login-links {
  text-align: center;
  font-size: 0.93rem;
  color: #6b7280;
  margin-bottom: 0.7rem;
}

.login-links a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.2rem;
  transition: color 0.2s;
}

.login-links a:hover {
  color: #0d47a1;
  text-decoration: underline;
}

.policy-links {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.4;
}

.policy-links a {
  color: #1877f2;
  text-decoration: none;
  margin: 0 0.2rem;
  transition: color 0.2s;
}

.policy-links a:hover {
  color: #0d47a1;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 500;
  background: #e3f6e8;
  border-radius: 8px;
  padding: 2px 8px;
}

.right-pane {
  flex: 1;
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
}

.dashboard-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.dashboard-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.dashboard-subtitle {
  color: #e0e7ef;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.dashboard-image {
  width: 100%;
  max-width: 1000px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  margin-bottom: 1.2rem;
}

.features-list {
  display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0 auto;
    align-items: initial;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

.feature-icon {
  width: 22px;
  height: 22px;
  background: #1877f2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1100px) {
  .container {
    flex-direction: column;
    min-height: unset;
  }
  .left-pane {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: none;
  }
  .right-pane {
    min-height: 320px;
    padding: 24px 0;
  }
}
@media (max-width: 700px) {
  .container {
    flex-direction: column;
    min-height: unset;
  }
  .left-pane, .right-pane {
    width: 100%;
    min-width: unset;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .login-container {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    margin: 16px 0;
  }
  .dashboard-content {
    max-width: 98vw;
    padding: 0 0.5rem;
  }
  .dashboard-image {
    max-width: 98vw;
  }
  .features-list {
    gap: 0.4rem;
  }
}
