/* Стили модального окна оформления заказа ЮKassa */
.irina-modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.irina-modal-backdrop.irina-modal-open {
  display: flex !important;
  animation: irinaFadeIn 0.2s ease-out;
}

@keyframes irinaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.irina-modal-card {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}

.irina-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.15s, background-color 0.15s;
}

.irina-modal-close:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.irina-modal-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px 0;
  padding-right: 24px;
  color: #0f172a;
}

.irina-modal-price {
  font-size: 24px;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 20px;
}

.irina-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.irina-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.irina-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.irina-form-group input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: #0f172a;
  background: #ffffff;
}

.irina-form-group input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.irina-form-consent {
  margin-top: 4px;
}

.irina-form-consent label {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
  cursor: pointer;
  align-items: flex-start;
}

.irina-form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #0284c7;
  flex-shrink: 0;
}

.irina-form-consent a {
  color: #0284c7;
  text-decoration: underline;
}

.irina-order-error {
  padding: 10px 14px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.3;
}

.irina-modal-btn {
  margin-top: 6px;
  height: 48px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s;
}

.irina-modal-btn:hover {
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  opacity: 0.96;
}

.irina-modal-btn:active {
  transform: scale(0.98);
}

.irina-modal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Личный кабинет в меню — единый дизайн с Главная и Обо мне */
.irina-cabinet-link {
  color: #23a4ca !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out !important;
}

.irina-cabinet-link:hover {
  color: #606060 !important;
}
