/* =========================
   CUSTOM LOGIN STYLES
   ========================= */

/* 1) Background animated gradient */
body.simple-page {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2f5a, #1f7aa0, #27c1d4);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}

/* Gradient animation */
@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 2) Page wrapper */
.simple-page-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* 3) Card */
.simple-page-form {
  width: 420px;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px 32px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.35);
}

/* Subtle shine effect */
.simple-page-form::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 55%);
  transform: rotate(20deg);
  animation: shine 7s ease infinite;
  pointer-events: none;
}

@keyframes shine {
  0%   { transform: translateX(-60%) rotate(20deg); opacity: 0; }
  20%  { opacity: 0.6; }
  40%  { transform: translateX(60%) rotate(20deg); opacity: 0; }
  100% { transform: translateX(60%) rotate(20deg); opacity: 0; }
}

/* 4) Logo */
.simple-page-logo {
  text-align: center;
  margin-bottom: 14px;
}

.simple-page-logo img.logo-login {
  width: 110px;
  height: auto;
  animation: logoPop 0.8s ease;
}

@keyframes logoPop {
  0%   { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 5) Title */
.form-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #1f2d3d;
  margin: 12px 0 24px;
  letter-spacing: 0.5px;
}

/* 6) Inputs */
.form-control {
  border-radius: 10px;
  border: 1px solid #d7dde3;
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: none;
}

.form-control:focus {
  outline: none;
  border-color: #1f7aa0;
  box-shadow: 0 0 0 4px rgba(31, 122, 160, 0.18);
}

.form-group {
  margin-bottom: 16px;
}

/* 7) Button */
.btn-primary {
  width: 100%;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #1f7aa0, #27c1d4);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Ripple effect */
.btn-primary::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.35);
  display: block;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
}

.btn-primary:active::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: 0s;
}

/* 8) Checkbox style */
.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #1f7aa0;
}

.checkbox label {
  font-size: 13px;
  color: #66707a;
}

/* 9) Footer */
.simple-page-footer {
  text-align: center;
  margin-top: 14px;
}

.simple-page-footer a {
  color: #1f7aa0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.simple-page-footer a:hover {
  color: #0b2f5a;
}

/* 10) Responsive */
@media (max-width: 480px) {
  .simple-page-form {
    padding: 26px 18px;
    width: 92%;
  }
}
