/* Owner Authentication Styles */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --success-color: #27ae60;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --light-bg: #ecf0f1;
  --dark-text: #2c3e50;
  --border-radius: 8px;
  --box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);

  --nafath-primary: #2D8B8A;
  --nafath-secondary: #4FA9A8;
  --nafath-light: #E8F4F4;
  --nafath-dark: #1A5F5E;
  --purple-primary: #6B5B95;
  --purple-secondary: #8A7CAE;
  --purple-light: #E8E5F2;
}

.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(45, 139, 138, 0.1);
  overflow: hidden;
  max-width: 950px;
  width: 100%;
  position: relative;
}

.login-card.login {
  max-width: 550px;
}

.card-header {
  background: var(--nafath-primary);
  padding: 0;
  height: 120px;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.card-body {
  padding: 40px 30px;
}

.main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  color: #6c757d;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 30px;
}

.nafath-logo {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--nafath-primary);
  text-align: center;
  margin: 30px 0;
  letter-spacing: 1px;
}

.description {
  color: #495057;
  text-align: center;
  line-height: 1.8;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 35px;
}

.login-btn {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
  border: none;
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 91, 149, 0.3);
}

.btn-outline-primary.active {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
  border: none;
  color: white;
  padding: 10px 20px;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
  border: none;
  color: white;
  padding: 10px 20px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
  border: none;
  color: white;
  padding: 10px 20px;
  font-weight: 600;
}

.login-btn:hover .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 91, 149, 0.4);
  background: linear-gradient(135deg, #5A4B7A 0%, var(--purple-primary) 100%);
}

.info-box {
  background: var(--purple-light);
  border: 1px solid rgba(138, 124, 174, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin-top: 25px;
  position: relative;
}

.info-icon {
  position: absolute;
  top: 23px;
  left: 20px;
  color: var(--purple-primary);
  font-size: 1.2rem;
}

.info-text {
  color: #495057;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  margin-left: 35px;
}

/* Responsive Design */
@media (max-width: 991px) {

  .login-card {
    max-width: 550px;
  }
}

@media (min-width: 992px) {

  .nafath-login {
    padding-left: 45px;
  }

  .reqular-login {
    border-right: 1px solid lightgray;
    padding-right: 45px;
  }
}

@media (max-width: 576px) {
  .main-title {
    font-size: 1.8rem;
  }

  .nafath-logo {
    font-size: 3rem;
  }

  .card-body {
    padding: 30px 20px;
  }
}

/* Animation for card entrance */
.login-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
