/* Backend Styles - Gutenberg Block Editor */
.tabbed-block-editor {
    padding: 20px;
    font-family: Arial, sans-serif;
}
.tabbed-block-editor-items {
    display: flex;
    flex-wrap: wrap;
}

.tab-editor {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    width:30.33%;
}

.tab-editor input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.tab-editor button {
    padding: 8px 16px;
    margin-top: 5px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.tab-editor button:hover {
    background-color: #005f8a;
}

.item-editor {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.item-editor img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.item-editor input[type="text"] {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.item-editor button {
    margin-top: 10px;
    background-color: #e53e3e;
}

.item-editor button:hover {
    background-color: #9b1d1d;
}

button.add-tab-button {
    background-color: #28a745;
}

button.add-tab-button:hover {
    background-color: #218838;
}


/* Frontend Styles - Output Display */
.tabbed-block {
    font-family: Arial, sans-serif;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.tabs button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-right: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tabs button.active {
    background-color: #0073aa;
    color: #fff;
    border-bottom: 3px solid #0073aa;
}

.tabs button:hover {
    background-color: #f1f1f1;
}

.tab-content {
    padding: 20px;
}

.tab-panel {
    display: none;
}

.tab-panel:first-of-type {
    display: block;
}

.image-panel {
    margin-bottom: 20px;
}

.image-panel img {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    vertical-align: middle;
}

.image-content {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}

.visit-button {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #0073aa;
    text-decoration: none;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 3px;
}

.visit-button:hover {
    background-color: #0073aa;
    color: white;
}