.custom-button {
    width: 100%;
    height: 50px;
    
    background-color: #6F00FF;        /* фиолетовый фон */
    color: white;                     /* белый текст */
    
    border: none;
    border-radius: 15px;               /* скругление углов (можно изменить) */
    
    font-size: 16px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.custom-button:hover {
    background-color: #5A00D9;        /* чуть более тёмный фиолетовый */
    transform: translateY(-2px);      /* лёгкий подъём */
    box-shadow: 0 8px 15px rgba(111, 0, 255, 0.3);
}

/* Эффект при нажатии */
.custom-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(111, 0, 255, 0.3);
}



.custom-btn {
      width: 250px; height: 50px;
      background-color: #6F00FF;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .custom-btn:hover {
      background-color: #5A00D9;
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(111, 0, 255, 0.4);
    }

    /* Модальное окно формы */
    .modal {
      display: none; position: fixed; z-index: 1000;
      left: 0; top: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      justify-content: center; align-items: center;
    }
    .modal-content {
      background: #fff; padding: 30px 25px; border-radius: 12px;
      width: 90%; max-width: 420px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      position: relative;
    }
    .close { position: absolute; top: 12px; right: 18px; font-size: 28px; color: #aaa; cursor: pointer; }
    .close:hover { color: #333; }
    h2 { margin: 0 0 20px 0; text-align: center; color: #6F00FF; }
    .form-group { margin-bottom: 18px; }
    label { display: block; margin-bottom: 6px; font-weight: 500; color: #333; }
    input, select, textarea {
      width: 100%; padding: 12px; border: 1px solid #ccc;
      border-radius: 6px; font-size: 15px; box-sizing: border-box;
    }
    input:focus, select:focus, textarea:focus { border-color: #6F00FF; outline: none; }
    .submit-btn {
      width: 100%; height: 50px; background: #6F00FF; color: white;
      border: none; border-radius: 8px; font-size: 16px; font-weight: 600;
      cursor: pointer; margin-top: 10px;
    }
    .submit-btn:hover { background: #5A00D9; }

    /* === КРАСИВОЕ УВЕДОМЛЕНИЕ ПОСЕРЕДИНЕ === */
    .success-overlay {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      justify-content: center;
      align-items: center;
    }
    .success-box {
      background: white;
      padding: 40px 30px;
      border-radius: 16px;
      text-align: center;
      max-width: 380px;
      box-shadow: 0 15px 35px rgba(0,0,0,0.3);
      animation: successPop 0.4s ease forwards;
    }
    @keyframes successPop {
      0%   { transform: scale(0.6); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }
    .success-icon {
      font-size: 70px;
      margin-bottom: 15px;
    }
    .success-text {
      font-size: 28px;
      font-weight: 700;
      color: #6F00FF;
      margin: 0 0 10px 0;
      line-height: 1.2;
    }
    .success-subtext {
      font-size: 16px;
      color: #555;
    }