/* Event edit page (body.page-id-2047) styles migrated from WPCode snippets. */

/* ---- WPCode #2049 イベント編集作成フォーム改善用CSS ---- */
/**
 * OtonaEvent - イベント編集フォーム改善用CSS（page-id-2047 のみ）
 */

/* 全体のスタイリング */
body.page-id-2047 .em-event-editor,
body.page-id-2047 .event-form-name,
body.page-id-2047 .event-form-group,
body.page-id-2047 .event-form-when,
body.page-id-2047 .event-form-where,
body.page-id-2047 .event-form-details,
body.page-id-2047 .event-form-image,
body.page-id-2047 .event-form-bookings {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    color: #292929;
    line-height: 1.5;
}

body.page-id-2047 .em-event-editor {
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 0;
}

/* サイトの既存スタイルとの統合 */
body.page-id-2047 .css-event-form {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin: 15px auto;
    max-width: 800px;
}

/* セクションのスタイリング - カード式レイアウト */
body.page-id-2047 .em-event-editor-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}
body.page-id-2047 .em-event-editor-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* セクションヘッダー */
body.page-id-2047 .em-event-editor-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #292929;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

/* 青いバー付きのセクションタイトル */
body.page-id-2047 .event-form-name h3,
body.page-id-2047 .event-form-group h3,
body.page-id-2047 .event-form-when h3,
body.page-id-2047 .event-form-where h3,
body.page-id-2047 .event-form-details h3,
body.page-id-2047 .event-form-image h3,
body.page-id-2047 .event-form-bookings h3 {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
body.page-id-2047 .event-form-name h3::before,
body.page-id-2047 .event-form-group h3::before,
body.page-id-2047 .event-form-when h3::before,
body.page-id-2047 .event-form-where h3::before,
body.page-id-2047 .event-form-details h3::before,
body.page-id-2047 .event-form-image h3::before,
body.page-id-2047 .event-form-bookings h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #3498db;
    margin-right: 10px;
    border-radius: 2px;
}

/* サイトの既存スタイルとの統合 - h3タグ修正 */
body.page-id-2047 .em.pixelbones h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

/* 入力フィールドの共通スタイル */
body.page-id-2047 .em-event-editor input[type="text"],
body.page-id-2047 .em-event-editor input[type="url"],
body.page-id-2047 .em-event-editor input[type="number"],
body.page-id-2047 .em-event-editor input[type="date"],
body.page-id-2047 .em-event-editor input[type="time"],
body.page-id-2047 .em-event-editor select,
body.page-id-2047 .em-event-editor textarea,
body.page-id-2047 .em-date-input,
body.page-id-2047 .em-time-input,
body.page-id-2047 .em-selectize {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 10px;
    color: #292929;
}

body.page-id-2047 .em-event-editor input::placeholder,
body.page-id-2047 .em-event-editor textarea::placeholder,
body.page-id-2047 .em-date-input::placeholder,
body.page-id-2047 .em-time-input::placeholder {
    color: #777;
    opacity: 0.7;
}

body.page-id-2047 .em-event-editor input:focus,
body.page-id-2047 .em-event-editor select:focus,
body.page-id-2047 .em-event-editor textarea:focus,
body.page-id-2047 .em-date-input:focus,
body.page-id-2047 .em-time-input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* テキストエリアのスタイル */
body.page-id-2047 .em-event-editor textarea {
    min-height: 120px;
    resize: vertical;
}

/* ラベルのスタイリング */
body.page-id-2047 .em-event-editor label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #292929;
}

/* 必須マーク（*）はフォームの各ラベルに入っている。ここで ::after でも足すと二重になる。 */

/* ヘルプテキスト */
body.page-id-2047 .form-help,
body.page-id-2047 .example-text {
    display: block;
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #777;
}

/* 送信ボタンのスタイル */
body.page-id-2047 .event-form-submit input[type="submit"],
body.page-id-2047 .event-form-submit .button-primary {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto;
}
body.page-id-2047 .event-form-submit input[type="submit"]:hover,
body.page-id-2047 .event-form-submit .button-primary:hover {
    background-color: #2980b9;
}

body.page-id-2047 .em.pixelbones h4 {
    display: none;
}

