/* Custom CSS for Arabic Reset Password Page */

/* RTL Support */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  direction: rtl;
  text-align: right;
}

/* Header Styles */
.navbar {
  padding: 1rem 0;
}

.login-btn {
  background-color: #3b5998;
  border-color: #3b5998;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 500;
}

.login-btn:hover {
  background-color: #2d4373;
  border-color: #2d4373;
}

/* Main Content */
.main-content {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  min-height: 70vh;
  padding: 3rem 0;
}

/* Reset Password Card */
.reset-card {
  background-color: #d2daf0a6;
  border: none;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.reset-card .card-title {
  color: #2c3e50;
  font-weight: 600;
  font-size: 1.5rem;
}

/* Input Styles */
.user-input {
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  background-color: #f8f9fa;
}

.user-input:focus {
  border-color: #3b5998;
  box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.25);
  background-color: white;
}

.input-group-text {
  border: 1px solid #e0e6ed;
  border-left: none;
  border-radius: 0 8px 8px 0;
}

/* Reset Button */
.reset-btn {
  background-color: #3b5998;
  border-color: #3b5998;
  border-radius: 8px;
  padding: 12px;
  font-weight: 500;
  font-size: 16px;
}

.reset-btn:hover {
  background-color: #2d4373;
  border-color: #2d4373;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 89, 152, 0.3);
}

/* Footer Styles */
.footer {
  background-color: #f8f9fa !important;
  border-top: 1px solid #e9ecef;
}

.footer h5 {
  color: #3b5998;
  font-weight: 600;
}

.footer .btn-outline-secondary {
  width: 40px;
  height: 40px;
  border-color: #dee2e6;
}

.footer .btn-outline-secondary:hover {
  background-color: #3b5998;
  border-color: #3b5998;
  color: white;
}

/* Chat Button */
.chat-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #3b5998;
  border: none;
  box-shadow: 0 4px 12px rgba(59, 89, 152, 0.4);
  z-index: 1000;
}

.chat-btn:hover {
  background-color: #2d4373;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 2rem 0;
  }

  .reset-card .card-body {
    padding: 2rem !important;
  }

  .navbar-nav {
    margin-top: 1rem;
  }

  .chat-btn {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
}

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

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

/* Loading State */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
