:root {
  --color-primary: #3d99f5;
  --color-primary-dark: #2a7bc8;
  --color-error: #ff4757;
  --color-success: #4BB543;
  --color-warning: #FFA502;
  --color-text-dark: #0d121c;
  --color-text-medium: #121417;
  --color-text-light: #61758a;
  --color-text-white: #ffffff;
  --color-background-body: #f7fafc;
  --color-background-input: #f0f2f5;
  --color-border: #e5e8eb;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

.reset-password-section {
  flex:1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-color: var(--color-background-body);
  overflow-x: hidden;
}

.reset-password-container {
  width: 100%;
  max-width: 360px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 18px;
  animation: fadeIn 0.5s ease;
  overflow-y: auto;
}

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

.header {
  text-align: center;
  margin-bottom: 25px;
}

.icon {
  width: 45px;
  height: 45px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

/* التنبيهات */
.alert {
  padding: 14px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  font-size: 13px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.alert-success {
  background-color: rgba(75, 181, 67, 0.1);
  color: var(--color-success);
  border-left: 4px solid var(--color-success);
}

.alert-danger {
  background-color: rgba(255, 71, 87, 0.1);
  color: var(--color-error);
  border-left: 4px solid var(--color-error);
}

.alert-danger ul {
  padding-right: 20px;
  margin: 5px 0 0 0;
}

/* النموذج */
.reset-form {
  margin-top: 20px;
}

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

.email-input {
  width: 100%;
  padding: 11px 45px 6px 40px;
  background-color: var(--color-background-input);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 14px;
  color: var(--color-text-dark);
  text-align: right;
  transition: var(--transition);
}

.email-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(61, 153, 245, 0.2);
}

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-light);
}

.email-input:focus + .input-icon {
  color: var(--color-primary);
}

/* زر الإرسال */
.submit-button {
  width: 100%;
  padding: 12px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.button-text{
  font-weight: 600;
}
.submit-button:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.button-text {
  margin-left: 8px;
}

.button-icon {
  width: 18px;
  height: 18px;
}

/* footer */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  background-color: transparent;
}

.back-icon {
  width: 14px;
  height: 14px;
  color: var(--color-text-light);
  margin-left: 8px;
}

.back-link {
  font-size: 13px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .reset-password-container {
    padding: 16px 12px;
    max-width: 100%;
  }

  .title {
    font-size: 20px;
  }

  .subtitle {
    font-size: 13px;
  }

  .icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  .input-icon {
    right: 8px;
    width: 16px;
    height: 16px;
  }

  .submit-button {
    padding: 12px;
    font-size: 14px;
  }
}

/* Notifications */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.notification {
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(150%);
  transition: transform 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  max-width: 400px;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.hide {
  transform: translateX(150%);
  opacity: 0;
}

.notification.success {
  background-color: #4BB543;
}

.notification.error {
  background-color: #ff4757;
}

.notification.warning {
  background-color: #FFA500;
}

.notification-icon {
  margin-left: 10px;
  font-size: 20px;
}

.notification-close {
  margin-right: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.notification-content {
  flex-grow: 1;
}

.spam-notice {
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
  display: block;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  padding-top: 8px;
}
