@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Newsreader:wght@400;600&display=swap');

:root {
  --accent: #1ea1ff;
  --dark: #0a0f1a;
  --light: #f5f8ff;
}

:root {
  --accent: #1ea1ff;
  --overlay-start: rgba(3, 18, 42, 0.45);
  --overlay-end: rgba(3, 18, 42, 0.25);
  --text-max-width: 1100px;
  --vh: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

a{
  text-decoration: none;
}

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

body {
  background: #0a0f1a;
  height: 100vh;
  overflow: hidden;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 10px 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 100px;
  width: 100px;
}

.navbar__logo {
  font-size: 5rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  transition: all 0.3s ease;
}

.navbar__menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
}

.navbar__menu a:hover {
  background-color: #fff;
  color: #000;
  padding: 12px;
  border-radius: 6px;
  transform: translateX(8px);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 11;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .navbar__logo {
    font-size: 1.5rem;
    
  }
  .hamburger {
    display: flex;
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__menu li {
    margin: 0;
    text-align: center;
  }

  .navbar__menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar__menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: none;
    padding: 15px 20px;
  }
}

/* Layout */
.login-page {
  display: flex;
  height: 100vh;
  padding: 10px 0;
}

.login-left, .login-right {
  flex: 1;
  position: relative;
}

.login-left {
  background: url('public_html/img/tk.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login-left .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.login-left .text-block {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.text-block img {
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}

.login-left h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

.login-left p {
  font-size: 1rem;
  opacity: 0.8;
}

/* Right Panel */
.login-right {
  background: linear-gradient(160deg, #0a0f1a, #101c32);
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  padding: 50px 40px;
  width: 400px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.login-box h2 {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.sub {
  color: #9db4d8;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Inputs */
.input-group {
  text-align: left;
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  color: #cfd8e3;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}

/* Button */
.login-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent), #0a4aa0);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30,161,255,0.35);
}

/* Links */
.links {
  margin-top: 20px;
  color: #a8b7d1;
  font-size: 0.9rem;
}
.links a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s;
}
.links a:hover { opacity: 0.8; }
.links span { margin: 0 5px; }

/* Responsive */
@media (max-width: 900px) {
  .login-page {
    flex-direction: column;
  }

  .login-left, .login-right {
    flex: none;
    width: 100%;
    height: 50vh;
  }

  .login-box {
    width: 90%;
    margin: auto;
  }
}
