.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;
}

.content-display {
    margin-top: 20px;
    white-space: pre-wrap;
    text-align: left;
}

.edit-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.btn {
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-edit { background-color: #007bff; }
.btn-save { background-color: #28a745; }
.btn-cancel { background-color: #dc3545; }

.btn:hover { opacity: 0.9; }

textarea {
    width: 100%;
    min-height: 200px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.form-group {
    margin-top: 20px;
    width: 100%;
}

.checkbox-group {
    text-align: left !important;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
}

.checkbox-label input[type="checkbox"] {
    margin: 1px 0 0 0; /* 4px-re állítva a jobb szövegkövetésért */
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    word-break: break-word; 
    white-space: normal;
}

/* ===== LINK ALÁHÚZÁS LEVÉTELE ÉS STÍLUSA ===== */
.checkbox-label span a {
    text-decoration: none; /* Itt veszi le az aláhúzást */
    color: #007bff;        /* Adunk neki egy színt, hogy látszódjon: ez egy link */
    font-weight: 500;
}

.checkbox-label span a:hover {
    text-decoration: underline; /* Egérrel fölé érve opcionálisan megjelenhet az aláhúzás */
    color: #0056b3;
}

.mobile-contact-btn-container {
    display: none !important;
    margin-top: 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .editable-container {
        margin: 20px 10px;
        padding: 15px;
    }

    .mobile-contact-btn-container {
        display: block !important;
    }

    .contact-btn {
        display: inline-block;
        background-color: #1565c0;
        color: #fff;
        padding: 10px 20px;
        border-radius: 10px;
        text-decoration: none;
        font-size: 16px;
    }

    .edit-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .checkbox-label span {
        font-size: 14px;
    }
}
