/* popup-actionsクラスの修正 - ポップアップの中に確実に含まれるようにする */
#custom-frontend-popup .popup-actions {
    position: relative;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    clear: both;
}

/* 不要なボタンを非表示にする */
#show-photo-upload {
    display: none !important;
}

/* ポップアップのレイアウト調整 */
#custom-frontend-popup .popup-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

/* フォームの左右カラムをフレックスコンテナにする */
.form-left-column, .form-right-column {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

/* フィールドセットの調整 */
#custom-frontend-popup fieldset {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
