.editable-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center; /* gomb középre */
}

#edit-btn {
    margin-bottom: 20px; /* egy kis távolság a cím előtt */
}

.editable-container h1 {
    margin-top: 0; /* gomb fölötti margó nincs */
}

.content-display {
    margin-top: 20px;
    white-space: pre-wrap;
    text-align: left; /* tartalom balra */
}

.edit-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center; /* gombok középre mobilon is */
}

.btn {
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.btn-edit { background-color: #007bff; }
.btn-save { background-color: #28a745; }
.btn-cancel { background-color: #dc3545; }

textarea {
    width: 100%;
    min-height: 200px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Mobilbarát */
@media (max-width: 600px) {
    .edit-buttons {
        flex-direction: column;
        gap: 5px;
    }
}

/* --- Mobil-only névjegy letöltés gomb --- */
.mobile-contact-btn-container {
    display: none !important;  /* Asztali gépen elrejtve */
    margin-top: 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
  .mobile-contact-btn-container {
    display: block !important;  /* Mobilon látszik */
  }

  .contact-btn {
    display: inline-block;
    background-color: #1565c0;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
  }

  .contact-btn:hover {
    background-color: #0d47a1;
  }
}
