:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --purple: #8B5CF6;
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --background: #F9FAFB;
  --white: #FFFFFF;
  --error: #EF4444;
  --border: #E5E7EB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2d3c4c;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  /*background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 50%, #EDE9FE 100%);*/
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwMCAwQzY5LjggMCA0NS4zIDI0LjUgNDUuMyA1NC43YzAgMTkuOSAxMC43IDM3LjEgMjYuNiA0Ni42LTE0LjUgNy44LTI2LjMgMTkuNi0zNC4xIDM0LjFDMjQuNSAxMjUuNiAxNSAxMTMuMiAxNSA5OC43YzAtMzAuMi0yNC41LTU0LjctNTQuNy01NC43di0uMUgxMDBWMHptMCAwQzEzMC4yIDAgMTU0LjcgMjQuNSAxNTQuNyA1NC43YzAgMTkuOS0xMC43IDM3LjEtMjYuNiA0Ni42IDE0LjUgNy44IDI2LjMgMTkuNiAzNC4xIDM0LjEgMTMuMyA5LjggMjIuOC0yLjUgMjIuOC0xN3MtMjQuNS01NC43LTU0LjctNTQuN3YtLjFIMTAwVjB6IiBmaWxsPSIjNDMzOENBIiBmaWxsLW9wYWNpdHk9IjAuMDIiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==');
}

.decorative-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.1;
  animation: pulse 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.shape-1 {
  top: 20%;
  right: 30%;
  width: 288px;
  height: 288px;
  background: var(--primary);
}

.shape-2 {
  bottom: 20%;
  left: 10%;
  width: 320px;
  height: 320px;
  background: var(--purple);
  animation-delay: 1s;
}

.shape-3 {
  top: 10%;
  left: 20%;
  width: 256px;
  height: 256px;
  background: #818CF8;
  animation-delay: 2s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.15;
    transform: scale(1.05);
  }
}

.container {
  width: 100%;
  max-width: 28rem;
  padding: 2rem 1rem;
}

.login-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.logo {
  display: flex;
  justify-content: center;
  /*margin-bottom: 1rem;*/
}

.logo-container {
  position: relative;
  padding: 0.5rem;
  /*background: linear-gradient(to right, var(--primary), var(--primary-dark));
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);*/
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--white);
}

.logo-dot {
  position: absolute;
  bottom: -0.25rem;
  right: -0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--purple);
  border-radius: 50%;
  border: 2px solid var(--white);
}

h1 {
  text-align: center;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.brand {
  color: var(--primary);
}

.subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

input[type="number"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.2s;
}

input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: var(--text-primary);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-primary);
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  background: var(--background);
  cursor: pointer;
}

.submit-button {
  width: 100%;
  padding: 0.625rem 1.25rem;
  background: #db7607;
  color: var(--white);
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-button:hover {
  background: #a25806;
  transform: scale(1.02);
}

.submit-button:active {
  transform: scale(0.98);
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

.forgot-password {
  display: block;
  text-align: center;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 1rem;
  transition: color 0.2s;
}

.forgot-password:hover {
  color: var(--primary-dark);
}

.signup-text {
  text-align: center;
  margin-top: .5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.signup-text a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.signup-text a:hover {
  color: var(--primary-dark);
}

.error-message {
  color: var(--error);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

@media (min-width: 640px) {
  .container {
    padding: 2rem;
  }
  
  .login-card {
    padding: 2rem;
  }
}

.bottom-text{
      text-align: center;
    font-size: 0.7rem;
    margin: 0.3rem;
    color: #1a162f;
}
.footer-text{
  text-align: center;
    padding: 0.5rem 0;
    font-size: 0.7rem;
    color: #38393a;
}