body {
    background: #095f70;
    color: #fff;
    font-family: Arial;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

.login-container {
    background: #fff;
    color: #095f70;
    padding: 30px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    max-width: 550px;
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 24px;
}

.login-container input {
    color: #095f70;
    width: 250px;
    text-align: -webkit-center;
    padding: 10px;
    margin: 8px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.login-container button {
    width: 250px;
    background: #66664d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.login-container button:hover {
    background: #005f99;
}

.error {
    color: #b00;
    text-align: center;
    margin-top: 10px;
}

/* Progress container */
#loginProgress {
  animation: fadein 0.3s ease-in-out;
  text-align: center;
}

/* Progress message */
.login-progress-text {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Progress bar */
.login-progress-track {
  width: 100%;
  height: 6px;
  background: #ffffff33;
  border-radius: 3px;
  overflow: hidden;
}

.login-progress-bar {
  height: 100%;
  width: 40%;
  background: #095f70;
  border-radius: 3px;
}

/* Spinner */
.login-spinner {
  width: 28px;
  height: 28px;
  margin: 12px auto 0;
  border: 4px solid #ffffff33;
  border-top: 4px solid #095f70;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  background:#66664d;
  color:#ffffff;
}

select {
  color: #095f70;
  background: #fff;
}

select:disabled {
  color: #095f70;          /* keep same text color */
  background: #f3f3f3;     /* optional: show disabled state */
  opacity: 1;              /* IMPORTANT: stop browser from fading it */
  -webkit-text-fill-color: #095f70; /* Safari/iOS fix */
}

select option {
  color: #095f70;
}



/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes progressIndeterminate {
  0%   { margin-left: -40%; }
  50%  { margin-left: 20%; }
  100% { margin-left: 100%; }
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media(max-width: 600px) {
    .login-container {
        padding: 18px 4px;
    }

    .login-container h2 {
        font-size: 20px;
    }
}

.chain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 520px) {
  .chain-grid { grid-template-columns: 1fr; }
}

.chain-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.chain-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.24);
}

.chain-card img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
}

.chain-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 6px 0;
}

.chain-logo {
  height: 44px;
  max-width: 260px;
  object-fit: contain;
}

