/* ========================================
   共有ヘッダースタイル
   Shared Header Styles
   ======================================== */

.site-title {
    text-align: center;
    margin-bottom: 2rem;
}

.site-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.site-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0.5rem 0 0 0;
    font-weight: 400;
}

.header-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.control-btn i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* ダークモード対応 */
body.dark-mode .control-btn {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .control-btn:hover {
    background: rgba(30, 41, 59, 1);
}

body.dark-mode .control-btn i {
    color: var(--primary-color);
}

body.dark-mode .site-subtitle {
    color: #ccc;
}

/* 日付表示切り替えボタンの表示制御 */
.date-format-control.hidden {
    display: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-controls {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .site-title h1 {
        font-size: 2rem;
    }
    
    .site-subtitle {
        font-size: 1rem;
    }
    
    .control-btn {
        width: 36px;
        height: 36px;
    }
    
    .control-btn i {
        font-size: 1.1rem;
    }
}
