@import url('./config.css');
/*:root {
  --bg: #f2f3f7;
  --white: #fff;
  --text: #1c1c1e;
  --accent: #007aff;
  --success: #34c759;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1e;
    --white: #2c2c2e;
    --text: #f2f2f7;
    --accent: #0a84ff;
    --success: #30d158;
  }
}*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none; /* Safari, iOS */  
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard */
}

body {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  transition: background 0.3s ease;
}

.container {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  transition: all 0.3s ease-in-out;
}

@media (prefers-color-scheme: dark) {
  .container {
    background: rgba(44, 44, 46, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
}

h2#form-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--text);
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--text);
}

input {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  background: #f9f9f9;
  transition: border-color 0.2s;
}

@media (prefers-color-scheme: dark) {
  input {
    background: #2c2c2e;
    color: var(--text);
    border: 1px solid #3a3a3c;
  }
}

input:focus {
  border-color: var(--accent);
}

button {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.9rem;
  border: none;
  background-color: var(--accent);
  color: white;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #0051c8;
}

button:disabled {
  background-color: #ccc !important;
}

.form-wrapper {
  position: relative;
}

form {
  display: none;
  animation: fadeIn 0.4s ease;
}

form.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.toggle-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.toggle-text span {
  color: var(--accent);
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
}

.c_i {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-bottom: 1rem;
}

.information {
  border: 1px solid #fff;
  background: #fff;
  color: var(--text);
  padding: 12px;
  border-radius: 8px;
  width: 90%;
  font-size: 0.9rem;
  display: none;
  transition: all 0.3s ease;
}

.information.success {
  border: 1px solid var(--success);
  background: #e6fbe9;
  color: var(--success);
  display: block;
}

.information.error {
  border: 1px solid #ff3b30;
  background: #fde8e8;
  color: #ff3b30;
  display: block;
}

@media (prefers-color-scheme: dark) {
  .information {
    background: #2c2c2e !important;
    border: 1px solid #3a3a3c;
  }
}

#splash-screen {
  position: fixed;
  z-index: 9999;
  background: var(--bg);
  color: var(--text);
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#splash-screen.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.logo-wrapper {
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.logo-wrapper h1 {
  font-size: 2.2rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--accent);
}
._spinner {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  border: 8px solid #ccc;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.splash-screen-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  pointer-events: none; 
}



@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

