@charset "UTF-8";
/* Модальные окна */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #764ba2;
  transition: all 0.3s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal-btn:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: rotate(90deg);
}

.modal-container h2 {
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #4a5568;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.logoutForm {
  text-align: center;
}

.logoutForm p {
  margin: 20px 0;
  font-size: 16px;
  color: #4a5568;
}

.logout-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.logout-buttons .submit-btn {
  width: auto;
  padding: 10px 20px;
  margin: 0;
}

.logout-buttons .submit-btn:first-child {
  background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
  box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.logout-buttons .submit-btn:first-child:hover {
  box-shadow: 0 6px 20px rgba(245, 101, 101, 0.4);
}

.logout-buttons .submit-btn:last-child {
  background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
  box-shadow: 0 4px 15px rgba(113, 128, 150, 0.3);
}

.logout-buttons .submit-btn:last-child:hover {
  box-shadow: 0 6px 20px rgba(113, 128, 150, 0.4);
}

.cancel-modal-btn {
  background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
  box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

/* Стили для сообщений об ошибках и успехе */
.error-message {
  background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
  color: #c53030;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 4px solid #c53030;
  font-size: 14px;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.success-message {
  background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
  color: #276749;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 4px solid #276749;
  font-size: 14px;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

/* Стили для скроллбара модального окна */
.modal-container::-webkit-scrollbar {
  width: 8px;
}

.modal-container::-webkit-scrollbar-track {
  background: rgba(102, 126, 234, 0.1);
  border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}/*# sourceMappingURL=modal.css.map */