/* Модальные окна для SMS и Push */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 30px 60px 0 rgba(90, 116, 148, 0.4);
  padding: 35px;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ced6e0;
}

.modal-header h2 {
  font-size: 23px;
  color: #1a3b5d;
  font-weight: 600;
  margin: 0;
}

.modal-header .securecode-icon {
  font-size: 20px;
  color: #ced6e0;
  margin-right: 10px;
}

.modal-body {
  margin-bottom: 20px;
}

.modal-info-table {
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse;
}

.modal-info-table th {
  text-align: right;
  padding: 8px;
  color: #1a3b5d;
  font-weight: 600;
}

.modal-info-table td {
  padding: 8px 8px 8px 10px;
  color: #1a3b5d;
}

.modal-description {
  text-align: center;
  font-size: 14px;
  color: #1a3b5d;
  margin: 20px 0;
  line-height: 1.5;
}

.modal-input-group {
  margin: 20px 0;
}

.modal-input-label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #1a3b5d;
  text-align: center;
}

.modal-input {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  border: 1px solid #ced6e0;
  padding: 5px 15px;
  font-size: 18px;
  color: #1a3b5d;
  font-family: "Source Sans Pro", sans-serif;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}

.modal-input:hover,
.modal-input:focus {
  border-color: #3d9cff;
  box-shadow: 0px 10px 20px -13px rgba(32, 56, 117, 0.35);
  outline: none;
}

.modal-button {
  width: 100%;
  padding: 0 20px;
  height: 55px;
  background: rgb(123, 154, 254);
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 3px 10px 20px 0px rgba(35, 100, 210, 0.3);
  color: #fff;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-button:hover {
  background: rgb(100, 130, 230);
  box-shadow: 3px 15px 25px 0px rgba(35, 100, 210, 0.4);
}

.modal-button:active {
  transform: translateY(1px);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #1a3b5d;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: #f0f0f0;
  color: #000;
}

.modal-security-icons {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ced6e0;
}

.modal-security-icons svg {
  margin: 10px;
  opacity: 0.7;
}

@media screen and (max-width: 480px) {
  .modal-content {
    padding: 25px;
    width: 95%;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .modal-button {
    height: 50px;
    font-size: 18px;
  }
}

