/* استايل‌هاي سفارشي */
.login-section {
  background-color: #f8f9fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.login-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.login-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: all 0.3s ease;
}

.login-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo img {
  width: 80px;
  margin-bottom: 20px;
}

.login-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.login-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
}

.input-group:focus-within {
  border-color: #3a7bd5;
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.2);
}

.input-icon {
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
}

.input-group input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 0.95rem;
  outline: none;
}

.show-password {
  background: none;
  border: none;
  padding: 0 15px;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.3s;
}

.show-password:hover {
  color: #3a7bd5;
}

.error-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.forgot-password {
  text-align: left;
  margin-bottom: 20px;
}

.forgot-password a {
  color: #6c757d;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.forgot-password a:hover {
  color: #3a7bd5;
  text-decoration: underline;
}

.login-button {
  width: 100%;
  background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.login-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(58, 123, 213, 0.3);
}

.login-button:active {
  transform: translateY(-1px);
}

.signup-link {
  text-align: center;
  margin-top: 20px;
  color: #6c757d;
  font-size: 0.9rem;
}

.signup-link a {
  color: #3a7bd5;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* عناصر تزئيني */
.decorative-shape {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.1;
}

.shape1 {
  width: 200px;
  height: 200px;
  background-image: url('<?=$this->site_url?>assets/img/shape1.png');
  top: 10%;
  left: 5%;
  animation: float 6s ease-in-out infinite;
}

.shape2 {
  width: 150px;
  height: 150px;
  background-image: url('<?=$this->site_url?>assets/img/shape2.svg');
  bottom: 15%;
  right: 5%;
  animation: rotate 20s linear infinite;
}

.shape3 {
  width: 100px;
  height: 100px;
  background-image: url('<?=$this->site_url?>assets/img/shape3.svg');
  top: 60%;
  left: 10%;
  animation: pulse 4s ease-in-out infinite;
}

/* انيميشن‌ها */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

/* رسپانسيو */
@media (max-width: 768px) {
  .login-card {
    padding: 30px 20px;
  }
  
  .login-title {
    font-size: 1.5rem;
  }
  
  .decorative-shape {
    display: none;
  }
}
.install-app-button {
  background-color: #248DCD;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.install-app-button:hover {
  background-color: #1d78af;
}
.pwa-features {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
      flex-wrap: wrap;
    }
    
    .pwa-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 15px;
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      color: #495057;
      text-decoration: none;
      font-size: 14px;
      transition: all 0.3s;
      cursor: pointer;
    }
    
    .pwa-btn:hover {
      background: #e9ecef;
      transform: translateY(-2px);
    }
    
    .pwa-notification {
      position: fixed;
      bottom: 20px;
      left: 20px;
      right: 20px;
      background: white;
      color: #333;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.5s ease;
      max-width: 400px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 1000;
    }
    
    .pwa-notification.show {
      transform: translateY(0);
      opacity: 1;
    }
    
    .pwa-notification.success {
      border-right: 4px solid #38a169;
    }
    
    .pwa-notification.error {
      border-right: 4px solid #e53e3e;
    }
    
    .install-app-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 12px;
      margin-top: 15px;
      background: #f1f3f5;
      border: 1px dashed #ced4da;
      border-radius: 8px;
      color: #495057;
      cursor: pointer;
      transition: all 0.3s;
    }
    
    .install-app-button:hover {
      background: #e9ecef;
      border-color: #667eea;
    }
    
    @media (max-width: 480px) {
      .pwa-features {
        flex-direction: column;
        align-items: center;
      }
      
      .pwa-btn {
        width: 100%;
        justify-content: center;
      }
    }
