
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #edf1f7;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

.login-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 100px 20px 0;
  min-height: calc(100vh - 30px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: white;
  border-radius: 20px;
  padding: 36px 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: cardFadeIn 0.6s ease-out;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.login-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0088FF 0%, #A033FF 100%);
  border-radius: 20px 20px 0 0;
}

.login-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.login-box > * {
  position: relative;
  z-index: 1;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-box h1 {
  font-size: 26px;
  font-weight: 700;
  color: #22242d;
  margin-bottom: 8px;
  margin-left: 0;
  margin-top: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.login-box .subtitle {
  font-size: 13px;
  font-family: 'Comfortaa';
  font-weight: 500;
  color: #7b7e89;
  margin-bottom: 70px;
  margin-left: 0;
  margin-top: 0;
  line-height: 1.5;
  font-weight: 400;
}

.login-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Tilt Warp', sans-serif;
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  margin-top: 0;
  margin-bottom: 0;
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.login-btn:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}


.login-btn:hover:not(:disabled)::before {
  left: 100%;
}

.login-btn:active:not(:disabled) {
  transform: translateY(0px) scale(1);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsive styles for login card */
@media (max-width: 768px) {
  .login-container {
    max-width: 480px;
  }
  
  .login-box {
    padding: 32px 32px;
    border-radius: 18px;
  }
  
  .login-box h1 {
    font-size: 24px;
  }
  
  .login-box .subtitle {
  font-size: 13px;
  }
  
  .login-btn {
    padding: 15px 24px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 90px 16px 0;
    max-width: 100%;
  }
  
  .login-box {
    padding: 28px 24px;
    border-radius: 16px;
  }
  
  .login-box h1 {
    font-size: 22px;
    margin-bottom: 6px;
  }
  
  .login-box .subtitle {
    font-size: 12px;
  }
  
  .login-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
}

.footer-main-section {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 120px;
  width: 100%;
}

.footer-brand-column {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: auto;
  width: auto;
  user-select: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.whatsapi-logo {
  max-height: 28px;
  align-self: flex-start;
  opacity: 1;
}

.footer-by-section {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  align-self: flex-start;
}

.finitechat-logo {
  max-height: 14px;
}

.footer-by-text {
  color: #7b7e89;
  font-size: 11px;
  font-weight: 400;
}

.footer-tagline {
  font-family: 'Comfortaa';
  color: #7b7e89;
  font-size: 14px;
  line-height: 1.5;
  margin: 20px 0 0 0;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-top: 32px;
  width: fit-content;
  user-select: none;
  cursor: pointer;
  transition: 0.2s;
}

.footer-status-badge:hover {
  transition: 0.2s;
  background-color: #0088ff09;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.status-text {
  font-family: 'Nunito';
  color: #374151;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.social-link {
  color: #7b7e89;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: #667eea;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(4, auto);
  grid-template-rows: repeat(2, auto);
  gap: 40px 80px;
  margin: 32px 28px 0px auto;
  justify-items: start;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
}

.footer-nav-heading {
  color: #22242d;
  font-size: 16px;
  font-family: 'Tilt Warp';
  font-weight: 500;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
  cursor: default;
}

.footer-nav-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.footer-nav-section:last-child {
  margin-bottom: 0;
}

.footer-nav-link {
  color: #7b7e89;
  font-size: 14px;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
  line-height: 1.6;
  white-space: nowrap;
}

.footer-nav-link:hover {
  color: #667eea;
}

.new-badge {
  display: inline-block;
  background: #d1fae5;
  color: #059669;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 10px 10px 10px 5px;
  margin-left: 3px;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}

.live-badge {
  display: inline-block;
  background: #dbeafe;
  color: #2563eb;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 10px 10px 10px 5px;
  margin-left: 3px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.footer-bottom-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 40px;
  margin-top: 48px;
  border-top: 1px solid #e7e7e7;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-copyright p {
  color: #7b7e89;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.footer-copyright p a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-copyright p a:hover {
  color: #764ba2;
}

.footer-subtext {
  line-height: 1.8;
  margin: 0;
  padding-top: 5px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-legal-links a {
  font-family: 'Baloo 2';
  color: #7b7e89;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #667eea;
}

.heart {
  width: 15px;
  height: 15px;
  margin: 0 4px;
  vertical-align: middle;
  display: inline-block;
}

.flag {
  width: 20px;
  margin: 0px 0px 0px 4px;
  vertical-align: middle;
  display: inline-block;
}


/* Large screens */
@media (max-width: 1280px) {
  .footer-content {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .footer-main-section {
    gap: 80px;
  }
  
  .footer-nav-columns {
    gap: 40px 60px;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .footer {
    padding: 56px 20px;
  }
  
  .footer-content {
    gap: 40px;
  }
  
  .footer-main-section {
    gap: 60px;
  }
  
  .footer-brand-column {
    flex: 0 0 240px;
  }
  
  .footer-tagline {
    max-width: 240px;
  }
  
  .footer-nav-columns {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    gap: 32px 60px;
    margin: 12px 0 0 0;
    justify-items: start;
    width: 100%;
  }
  
  .footer-social {
    gap: 14px;
  }
  
  .social-link svg {
    width: 19px;
    height: 19px;
  }
}

/* Small tablets */
@media (max-width: 768px) {
  .footer {
    padding: 48px 20px;
  }
  
  .footer-content {
    gap: 36px;
  }
  
  .footer-main-section {
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
  }
  
  .footer-brand-column {
    flex: 1;
    max-width: 100%;
    gap: 14px;
  }
  
  .footer-tagline {
    max-width: 100%;
    line-height: 1.5;
  }
  
  .footer-social {
    margin-top: 16px;
    gap: 12px;
  }
  
  .footer-status-badge {
    margin-top: 20px;
  }
  
  .footer-nav-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    width: 100%;
    margin: 20px 0 0 0;
    justify-items: start;
  }
  
  .footer-nav-heading {
    font-size: 15px;
    margin: 0 0 10px 0;
  }
  
  .footer-nav-link {
    font-size: 13px;
    white-space: normal;
  }
  
  .footer-bottom-section {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 28px;
    margin-top: 36px;
    gap: 32px;
  }
  
  .footer-copyright {
    gap: 10px;
  }
  
  .footer-copyright p {
    font-size: 13px;
  }
  
  .footer-legal-links {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .footer-legal-links a {
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .footer {
    padding: 40px 16px;
  }
  
  .footer-content {
    gap: 32px;
  }
  
  .footer-main-section {
    gap: 32px;
  }
  
  .whatsapi-logo {
    max-height: 26px;
  }
  
  .finitechat-logo {
    max-height: 13px;
  }
  
  .footer-by-text {
    font-size: 10px;
  }
  
  .footer-by-section {
    margin-top: 8px;
  }
  
  .footer-tagline {
    font-size: 13px;
    margin: 0;
  }
  
  .footer-social {
    margin-top: 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-status-badge {
    margin-top: 16px;
    padding: 5px 9px;
  }
  
  .status-text {
    font-size: 12px;
  }
  
  .status-dot {
    width: 7px;
    height: 7px;
  }
  
  .footer-nav-columns {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px 16px;
    width: 100%;
    margin: 20px 0 0 0;
  }
  
  .footer-nav-heading {
    font-size: 14px;
    margin: 0 0 6px 0;
  }
  
  .footer-nav-section {
    gap: 8px;
    margin-bottom: 0;
  }
  
  .footer-nav-link {
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
  }
  
  .new-badge,
  .live-badge {
    font-size: 9px;
    padding: 1px 4px;
    margin-left: 2px;
  }
  
  .footer-bottom-section {
    padding-top: 24px;
    margin-top: 32px;
    gap: 28px;
  }
  
  .footer-copyright {
    gap: 10px;
  }
  
  .footer-copyright p {
    font-size: 12px;
    line-height: 1.5;
  }
  
  .footer-subtext {
    font-size: 11px;
    padding-top: 4px;
  }
  
  .footer-legal-links {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .footer-legal-links a {
    font-size: 12px;
  }
  
  .heart {
    width: 13px;
    height: 13px;
    margin: 0 3px;
  }
  
  .flag {
    width: 18px;
    margin: 0px 0px 0px 3px;
  }
}

/* Very small mobile - keep 2x2 grid */
@media (max-width: 360px) {
  .footer {
    padding: 32px 12px;
  }
  
  .footer-content {
    gap: 28px;
  }
  
  .footer-main-section {
    gap: 28px;
  }
  
  .whatsapi-logo {
    max-height: 24px;
  }
  
  .finitechat-logo {
    max-height: 12px;
  }
  
  .footer-tagline {
    font-size: 12px;
  }
  
  .footer-social {
    gap: 8px;
  }
  
  .social-link svg {
    width: 16px;
    height: 16px;
  }
  
  .footer-nav-columns {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 18px 12px;
  }
  
  .footer-nav-heading {
    font-size: 13px;
    margin: 0 0 5px 0;
  }
  
  .footer-nav-section {
    gap: 6px;
  }
  
  .footer-nav-link {
    font-size: 11px;
    line-height: 1.3;
  }
  
  .new-badge,
  .live-badge {
    font-size: 8px;
    padding: 1px 3px;
    margin-left: 1px;
  }
  
  .footer-copyright p {
    font-size: 11px;
  }
  
  .footer-legal-links {
    gap: 8px;
  }
  
  .footer-legal-links a {
    font-size: 11px;
  }
}

/* Extra small mobile - single column only when absolutely necessary */
@media (max-width: 320px) {
  .footer {
    padding: 28px 10px;
  }
  
  .footer-nav-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-nav-heading {
    font-size: 13px;
  }
  
  .footer-nav-link {
    font-size: 12px;
  }
  
  .footer-bottom-section {
    gap: 24px;
  }
  
  .footer-copyright {
    gap: 8px;
  }
  
  .footer-copyright p {
    font-size: 10px;
  }
  
  .footer-legal-links a {
    font-size: 10px;
  }
}

/* -- Loader Screen -- */
.loader-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  background-color: rgba(249, 251, 254, 0.68);
  opacity: 1;
  transition: 0.5s;
}

.loader {
  width: 120px;
  height: 120px;
}

.loader-screen > h5 {
  font-size: 24px;
  font-family: 'Baloo 2';
  font-weight: 600;
  color: #171b1e;
  margin: 0px 0px 0px 0px;
  background: linear-gradient(84.06deg, #2DC8FF -28.62%, #1652C8 36.39%, #A033FF 98.74%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: syncloader 0.5s linear infinite alternate;
  transition: 0.2s;
}

@keyframes syncloader {
  0% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}