@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}
body 
{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #000;
}
section 
{
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  overflow: hidden;
}
section::before 
{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(#000,#0f0,#000);
  animation: animate 5s linear infinite;
}
@keyframes animate 
{
  0%
  {
    transform: translateY(-100%);
  }
  100%
  {
    transform: translateY(100%);
  }
}
section span 
{
  position: relative;
  display: block;
  width: calc(6.25vw - 2px);
  height: calc(6.25vw - 2px);
  background: #181818;
  z-index: 2;
  transition: 1.5s;
}
section span:hover 
{
  background: #0f0;
  transition: 0s;
}

section .signin
{
  position: absolute;
  width: 400px;
  background: #222;  
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,9);
}
section .signin .content 
{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}
section .signin .content h2 
{
  font-size: 2em;
  color: #0f0;
  text-transform: uppercase;
}
section .signin .content h3 
{
  font-size: 2em;
  color: #0f0;
  text-transform: uppercase;
}
section .signin .content .form 
{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}


.google-btn-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #fff;
  color: #444;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.google-btn:hover {
  background: #f8f8f8;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.google-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.google-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 900px)
{
  section span 
  {
    width: calc(10vw - 2px);
    height: calc(10vw - 2px);
  }
}
@media (max-width: 600px)
{
  section span 
  {
    width: calc(20vw - 2px);
    height: calc(20vw - 2px);
  }
  section .signin
  {
    width: 90%;
    padding: 30px 20px;
  }
}

.error {
  color: #ff4444;
  margin-top: 10px;
  text-align: center;
  font-size: 0.9em;
  font-weight: 500;
}

       .footer-info {
            margin-top: 30px;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .footer-info .department-text {
            color: #aaa;
            font-size: 0.95em;
            margin: 0;
            line-height: 1.4;
        }
        
        .footer-info .about-link {
            color: #888;
            font-size: 0.85em;
            margin: 0;
        }
        
        .footer-info a {
            color: #0f0;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .footer-info a:hover {
            text-decoration: underline;
            color: #0f0;
            text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
        }

.logo-container {
    text-align: center;
    margin-bottom: 10px; 
}

.logo-container img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}


#page-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}


.loader-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1rem;
    padding: 1.75rem 2.25rem;
    box-shadow:
        0 25px 50px -25px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    max-width: 320px;
    width: 90%;
    text-align: center;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.loader-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        rgba(56, 189, 248, 0.12),
        rgba(129, 140, 248, 0.2),
        rgba(56, 189, 248, 0.12)
    );
    opacity: 0.6;
    filter: blur(32px);
    z-index: -1;
}

.loader-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    margin: 0 auto 0.85rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #1e293b 0, #020617 70%);
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.25),
        0 0 25px rgba(129, 140, 248, 0.6);
    animation: loaderPulse 1.6s ease-in-out infinite;
}

.loader-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.loader-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.loader-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.loader-bar {
    margin-top: 1.2rem;
    width: 100%;
    height: 0.3rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.1);
}

.loader-bar-inner {
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(to right, #38bdf8, #4f46e5, #a855f7);
    animation: loaderBar 1.3s ease-in-out infinite;
}

.loader-caption {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); box-shadow:
            0 0 0 1px rgba(148, 163, 184, 0.25),
            0 0 18px rgba(129, 140, 248, 0.35); }
    50% { transform: scale(1.04); box-shadow:
            0 0 0 1px rgba(129, 140, 248, 0.5),
            0 0 32px rgba(129, 140, 248, 0.85); }
}

@keyframes loaderBar {
    0%   { transform: translateX(-60%); }
    50%  { transform: translateX(15%); }
    100% { transform: translateX(120%); }
}


#progressBar {
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.7),
                0 0 20px rgba(79, 70, 229, 0.5);
}