/* --- ЛИНК --- */
.download-link,
.download-link_2 {
  color: #0078d7;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px dashed #0078d7;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.download-link:hover,
.download-link_2:hover {
  color: #005fa3;
  border-color: #005fa3;
}

/* --- МОДАЛ --- */
.modal,
.modal_2 {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content,
.modal-content_2 {
  background-color: #fff;
  margin: 10% auto;
  padding: 25px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content h2,
.modal-content_2 h2 {
  margin-top: 0;
  text-align: center;
}

.password-input,
.password-input_2 {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.buttons,
.buttons_2 {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.buttons button,
.buttons_2 button {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s;
}

.confirm-btn,
.confirm-btn_2 {
  background-color: #0078d7;
}
.confirm-btn:hover,
.confirm-btn_2:hover {
  background-color: #005fa3;
}

.cancel-btn,
.cancel-btn_2 {
  background-color: #ccc;
  color: #000;
}
.cancel-btn:hover,
.cancel-btn_2:hover {
  background-color: #bbb;
}

.error,
.error_2 {
  color: red;
  font-size: 14px;
  text-align: center;
  height: 18px;
}
