*{
    margin: 0px;
    padding: 0px;
}

.navbar {
  background-color: #000;
  color: white;

  height: 64px;                /* FIXED height */
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 15px;             /* ONLY left-right */
  position: sticky;            /* ONLY ONE */
  top: 0;
  z-index: 1000;

  transition: background 0.3s ease, box-shadow 0.3s ease;
}

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

.logo-img {
  height: 55px;
  margin-right: 8px;
  margin-bottom: 0;
}
.logo-text {
    font-size: 30px;
    font-weight: bold;
}
.input-style {
  padding: 1px;
  margin-left: 1rem;
  width: 13rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #555;
  outline: none;
}
.home-a{
    text-decoration: none;
    color: inherit;
}
.input-style:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.search button {
    padding: 5px 5px;
    cursor: pointer;
    background: #ddd;
    border: none;
    border-radius: 4px;
    
}
.search{margin: 0px;
padding: 0px;
}
.search-box button:hover{
    background-color: blue;
    color:white;
}
/* Nav Links */
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-item {
    text-align: center;
    cursor: pointer;
    font-size: 12px;
}
.nav-item:hover {
    background-color: white;
    color: blue;
}
.nav-item i {
    font-size: 18px;
    display: block;
}
.right-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 3px;
}
.profile-icon {
    font-size: 40px;
    padding: 0px;
    margin-left: 5px;
}
.profile:hover{
    background-color: #FFFFFF42;
    color: blue;
    padding: 1px;
}
.profile-page{
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
.menu-toggle {
    display: none; /* Desktop par chhupa rahega */
    font-size: 22px;
    cursor: pointer;
}

body{
  font-family: 'Poppins', sans-serif;
  margin:0; padding:0;
  background: #f4f7fb;
}
main{
  max-width: 900px;
  margin: 100px auto 50px;
  padding: 20px;
}
h1{
  text-align:center;
  color:#1089d3;
  margin-bottom:20px;
}
.input-group{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content:center;
  margin-bottom:20px;
}
.input-group input{
  flex:1 1 300px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid #ccc;
  outline:none;
  font-size: 16px;
}
.input-group select{
  padding:12px;
  border-radius:10px;
  border:2px solid #ccc;
  font-size:16px;
}
.input-group button{
  padding:12px 20px;
  background: #1089d3;
  color:white;
  border:none;
  border-radius:10px;
  cursor:pointer;
  transition:0.2s;
}
.input-group button:hover{
  background:#0d6ea8;
}
.format-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:20px;
}
.format-buttons button{
  padding:10px 20px;
  border-radius:8px;
  border:2px solid #1089d3;
  background:white;
  cursor:pointer;
  transition:0.2s;
}
.format-buttons button.active,
.format-buttons button:hover{
  background:#1089d3;
  color:white;
}
#status{
  text-align:center;
  font-weight:bold;
  color:#1089d3;
  margin-top:10px;
}



.site-footer{
  background:#020617;
  border-top:1px solid rgba(255,255,255,0.1);
  margin-top:4rem;
  color:#cbd5f5;
  font-family:system-ui, sans-serif;
}

.footer-container{
  max-width:1100px;
  margin:auto;
  padding:3rem 1.5rem;
  display:flex;
  gap:3rem;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* Brand */
.footer-brand{
  max-width:320px;
}

.footer-logo{
  height:42px;
  margin-bottom:0.8rem;
}

.footer-brand p{
  font-size:0.95rem;
  color:#94a3b8;
}

/* Links */
.footer-links h4{
  font-size:1.1rem;
  margin-bottom:0.8rem;
  color:#e5e7eb;
}

.footer-links a{
  display:block;
  text-decoration:none;
  color:#93c5fd;
  font-size:0.95rem;
  margin-bottom:0.5rem;
  transition:color 0.3s;
}

.footer-links a:hover{
  color:#38bdf8;
}

/* Bottom bar */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:1.2rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:0.5rem;
  background:#020617;
  font-size:0.9rem;
}

.managed-by{
  color:#60a5fa;
  font-weight:600;
}
#backBtn{
  position: fixed;

  /* 👇 header se neeche */
  top: 72px;      /* desktop header height */
  left: 14px;

  width: 34px;
  height: 34px;

  background: rgba(13, 11, 19, 0.099);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(0, 102, 255, 0.45);
  border-radius: 50%;

  color: black;
  font-size: 16px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 200;   /* header se kam, content se upar */
}

/* 📱 Mobile */
@media (max-width: 768px){
  #backBtn{
    top: 69px;   /* mobile header height */
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* Mobile */
@media(max-width:600px){
  .footer-container{
    flex-direction:column;
    gap:2rem;
  }

  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }
}




/* MOBILE RESPONSIVE LOGIC */
@media (max-width: 768px) {
    .logo-text {
        display: none;  }
    .input-style{
        margin-left: 1rem;
  width: 8rem;
    }
    .nav-links {
        display: none; /* Links ko menu ke andar daalenge */
        flex-direction: column;
        position: absolute;
        top: 55px;
        right: 0;
        background: #00000094;
        width: 90px;
        padding: 20px;
        text-align: left;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
    .search-box{
     max-width: 180px;
    }
    .main{ display: inline-block;
    }
    .main-page{
        width: 100%;
        height: 103rem;
        background-color: #FDFDFFD1
    }
    .right-icons:hover{
        background-color:rgba(213, 213, 213, 0.8) ;
        color: blue;
    }
    .profile-icon {
    font-size: 28px;
    padding: 0px;
    margin-left: 5px;
    }
    .profile:hover{
        background-color: rgba(213, 213, 213, 0.8);
        border-radius: 5px;
        color: blue;
        font-size: 28px;
        padding-right: 2px;
    }
}