/**
 * Wave Up - カスタムスタイルシート
 * Bulmaをベースとしたカスタマイズ用CSS
 */

/* ========== 全体設定 ========== */
:root {
    --brand-primary: #3273dc; /* Bulma is-link カラー */
    --brand-primary-dark: #2366d1;
    --brand-primary-light: #4a8fe7;
}

html {
    scroll-behavior: smooth;
}

/* ========== ナビゲーションバー ========== */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand .navbar-item {
    font-size: 1.2rem;
}

/* ========== ログイン画面 ========== */
.hero.is-fullheight-with-navbar {
    min-height: calc(100vh - 52px); /* ナビバーの高さを引く */
}

.box {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.box .title {
    margin-bottom: 0.5rem;
}

/* ========== フォーム要素 ========== */
.input:focus,
.select select:focus,
.textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

/* ========== ボタン ========== */
.button.is-link:hover {
    background-color: var(--brand-primary-dark);
}

.button.is-link:active {
    background-color: var(--brand-primary-dark);
}

/* ========== 通知・フラッシュメッセージ ========== */
.notification {
    border-radius: 6px;
}

.notification .delete {
    background-color: rgba(0, 0, 0, 0.1);
}

/* ========== フッター ========== */
.footer {
    background-color: #f5f5f5;
    padding: 2rem 1.5rem;
    margin-top: auto;
}

/* ========== レスポンシブ調整 ========== */
@media screen and (max-width: 768px) {
    .box {
        margin: 0 1rem;
    }

    .navbar-brand .navbar-item {
        font-size: 1rem;
    }
}

/* ========== アニメーション ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification {
    animation: fadeIn 0.3s ease-in-out;
}

/* ========== ダッシュボードカード ========== */
.dashboard-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.dashboard-card {
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 2px solid transparent;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #3273dc;
}

.dashboard-card .card-content {
    padding: 2.5rem 1.5rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-card .icon.is-large {
    width: 4rem;
    height: 4rem;
}

/*.dashboard-card .title {
    margin-bottom: 0.5rem;
}*/

.dashboard-card .subtitle {
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
    .dashboard-card .card-content {
        min-height: 200px;
        padding: 2rem 1rem;
    }

    .dashboard-card .icon.is-large {
        width: 3rem;
        height: 3rem;
    }

    .dashboard-card .icon.is-large i {
        font-size: 2rem !important;
    }
}

/* ========== 今後の拡張用プレースホルダー ========== */
/* 評価シート関連のスタイルをここに追加 */
