
/* Wspólne style dla stron */
.page-start body,
.page-unauthorized body {
  font-family: Arial, sans-serif;
  margin: 30px auto;
  background: var(--bg);
  color: var(--text);
  padding: 0 20px;
  max-width: 80% !important;
  font-size: 1rem;
}

/* Kontenery dla stron */
.page-start .login-container,
.page-unauthorized .login-container {
  margin: 0 auto;
}

/* Stopki dla stron */
.page-start .footer,
.page-unauthorized .footer {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.6rem;
}

/* Komunikaty o błędach dla stron */
.page-start .error,
.page-unauthorized .error {
  color: var(--error);
  margin-top: 10px;
}

/* Style dla strony startowej */
.login-header {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9500 100%);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 6px 12px rgba(255, 121, 0, 0.3);
}

.login-header h1 {
  color: var(--white);
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

.login-header p {
  color: var(--white);
  margin: 0.75rem 0 0 0;
  font-size: 0.8rem;
  opacity: 0.95;
}

.login-info {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.login-info a,
.login-info h3 {
  color: var(--orange);
  margin-top: 0;
  font-size: 1rem;
  display: inline;
}

.login-info-2 {
  display: inline;
  padding-bottom: 20px;
}

.login-info p {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.8rem;
}

.feature-list li:before {
  content: "✓ ";
  color: var(--orange);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Style dla przycisków */
.btn {
  background: var(--btn);
  color: var(--text);
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 10px;
  text-decoration: none;
  display: inline-block;
}




.btn.secondary {
  max-width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--orange);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.language-buttons {
  display: flex;
  gap: 8px;
}

.theme-buttons {
  display: flex;
  gap: 8px;
}

button.active,
.btn.secondary.active,
button[data-theme].active,
button[data-lang].active {
  background: linear-gradient(
    to bottom,
    rgba(255, 201, 130, 0.509),
    rgba(255, 140, 0, 0.474)
  );
  border: 1px solid var(--orange);
  outline: none;
}


action-btn,
.btn:hover {
  background: rgba(255, 190, 111, 0.375) !important;
  border: 1px solid var(--orange);
}

.login-btn:hover {
  background-color: var(--dark-orange) !important;
  border: 1px solid var(--dark-orange) !important;
}

.login-btn {
  display: block;
  width: 50%;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--orange);
  background-color: var(--orange);
  color: var(--white);
  font-weight: bold; 
}


/* Style dla przycisków na stronie unauthorized */
.page-unauthorized .button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px auto;
  flex-wrap: nowrap;
}

.page-unauthorized .button-container .login-btn {
  background: var(--btn);
  color: var(--text);
  border: 2px solid var(--orange);
  border-radius: 12px; /* Zaokrąglone rogi */
  padding: 10px 18px;
  cursor: pointer;
  font-size: 10px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  min-width: 120px;
  background-color: var(--orange);
  color: var(--white);
}

/* Style dla przycisków secondary na stronie unauthorized */
.page-unauthorized .button-container .login-btn.secondary {
  background: none;
  border: 2px solid var(--orange);
  background-color: transparent;
}

/* Style dla linków na stronie unauthorized */
.page-unauthorized .button-container a.login-btn {
  color: var(--white);
  text-decoration: none;
}

/* Style dla przycisków aktywnych na stronie unauthorized */
.page-unauthorized .button-container button.active,
.page-unauthorized .button-container .login-btn.secondary.active,
.page-unauthorized .button-container button[data-theme].active,
.page-unauthorized .button-container button[data-lang].active {
  background: linear-gradient(90deg, var(--orange), #FF9500);
  color: var(--white) !important;
  border: 2px solid transparent !important;
}

/* Responsywność dla strony unauthorized */
@media (max-width: 768px) {
  .page-unauthorized .button-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-unauthorized .button-container .login-btn {
    flex: 1 1 100px;
    margin: 5px;
  }
}
