/**
 * public/assets/css/style.css
 * 全画面共通デザイン・スタイルシート
 */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Zen Kaku Gothic New', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

img {
    max-width: 100%;
}

.container {
    max-width: 600px;
    width: 100%;
    margin: 20px;
    background: #ffffff;
    padding: 20px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* タイトル・ヘッダー周り */
h1 {
    font-size: 20px;
    color: #0f172a;
    margin: .5em 0;
    font-weight: 600;
}

.subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

/* ステータスカード（イベント詳細・完了画面共通） */
.card {
    background-color: #f1f5f9;
    border-left: 4px solid #1a73e8;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 0 6px 6px 0;
    text-align: left;
}

.card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 600;
}

.event-name {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
    margin: 0;
}

.description {
    font-size: 14px;
    color: #475569;
    margin-top: 8px;
    margin-bottom: 0;
    white-space: pre-wrap;
}

/* フォーム要素 */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #334155;
}

input, select {
    width: 100%;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    color: #1e293b;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* ボタン */
.btn {
    display: inline-block;
    width: 100%;
    background-color: #1a73e8;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.btn:hover {
    background-color: #1557b0;
}

.btn:disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

/* エラーメッセージ・補助テキスト */
.error-message {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: left;
}

.info-text {
    font-size: 14px;
    color: #475569;
    margin-bottom: 32px;
    text-align: left;
}

/* 管理画面特有のレイアウト調整（一覧テーブルなど） */
.admin-layout {
    max-width: 900px; /* 一覧テーブルを見やすくするため幅を広く拡張 */
}
.nav-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 14px;
}
.nav-links a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}
.nav-links a:hover { text-decoration: underline; }

/* 管理画面用テーブルの装飾 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    text-align: left;
    font-size: 14px;
}
.admin-table th, .admin-table td {
    padding: 12px;
    border-bottom: 1px solid #cbd5e1;
}
.admin-table th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 700;
}

