@font-face {
  font-family: 'Gilroy';
  src: url('fonts/gilroy-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg-color: #F0F0F4;
  --text-color: rgba(0, 0, 75, 0.87);
  --text-secondary: rgba(0, 0, 75, 0.6);
  --highlight-color: #00e1ff;
  --logo-color: #00004BDE;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: rgba(32, 32, 36, 1);
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --highlight-color: rgba(82, 160, 255, 1);
    --logo-color: #ffffff;
  }
}

body { 
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  position: relative;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
  }
}

.side {
  display: flex;
  flex-basis: 25%;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  flex-basis: 50%;
  height: auto;
  justify-content: center;
  align-items: center;
}

.logo svg {
  width: 200px;
  color: var(--logo-color);
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.language-selector {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  color: var(--text-color);
  font-size: 14px;
  cursor: pointer;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  min-width: 200px;
  max-height: 40px;
}

.language-selector option {
  padding: 6px 16px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  min-height: 48px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.language-selector option:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.language-selector option:checked {
  background-color: rgba(25, 118, 210, 0.08);
}

/* Add custom arrow */
.language-selector {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 32px;
  background-color: rgba(0, 0, 75, 0.08);
}

@media (prefers-color-scheme: dark) { 
  .language-selector {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .language-selector option:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }
  
  .language-selector option:checked {
    background-color: rgba(144, 202, 249, 0.16);
  }
}

.maintenance-container {
  text-align: center;
  padding: 2rem;
  max-width: 600px;
  border-radius: 12px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.icon {
  margin-bottom: 1.5rem;
}

.icon img {
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .icon img {
    filter: brightness(0.9);
  }
}

h1 {
  margin: 0 0 1rem 0;
  color: var(--text-color);
  font-size: 2rem;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  transition: color 0.3s ease;
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
  transition: color 0.3s ease;
}

.estimated-time {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--highlight-color);
  color: var(--text-color);
  border-radius: 6px;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}
