h3{
    color: white;
    text-align: center;
}
table{
    color: white;
    border: 2px solid yellow;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
}
td{
    text-align: center;
    padding: 15px;
    border: 2px dotted yellow;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.contact-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-section h2 {
    text-align: center;
    color: #333;
}

.contact-section p {
    text-align: center;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.submit-container {
    display: flex;
    justify-content: center; /* Középre igazítás */
    margin-top: 20px; /* Tér a gomb felett */
}

.submit-btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: auto; /* Ne nyújtsa ki a gombot teljes szélességre */
}

.submit-btn:hover {
    background-color: #0056b3;
}

.form-popup-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
  }
  .form-popup-overlay.active {
    display: flex;
  }
  .form-popup-content {
    background: linear-gradient(135deg, #fff 70%, #ffd70022 100%);
    color: #222;
    border-radius: 22px;
    padding: 38px 32px 28px 32px;
    box-shadow: 0 8px 32px #87070755;
    text-align: center;
    min-width: 280px;
    max-width: 90vw;
    position: relative;
    animation: popupIn 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  }
  @keyframes popupIn {
    from { transform: scale(0.85) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
  }
  .form-popup-close {
    margin-top: 22px;
    background: linear-gradient(90deg, #870707 60%, #ffd700 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 38px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #ffd70033;
  }
  .form-popup-close:hover {
    background: #ffd700;
    color: #870707;
    box-shadow: 0 4px 16px #87070733;
  }
  #form-popup-icon {
    margin: 0 auto 18px auto;
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
  }
  #form-popup-icon.success {
    background: linear-gradient(135deg, #ffd700 60%, #870707 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: popicon 0.5s;
  }
  #form-popup-icon.error {
    background: linear-gradient(135deg, #ff4d4d 60%, #870707 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: popicon 0.5s;
  }
  @keyframes popicon {
    0% { transform: scale(0.5); opacity: 0; }
    80% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
  }
  #form-popup-icon svg {
    width: 32px; height: 32px;
    color: #fff;
  }

