/* 
 * Hoicco - 保育園・幼稚園向け包括的連絡WEBシステム
 * メインスタイルシート
 */

/* 全体のスタイル */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}

/* ナビゲーションバーのスタイル */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* カードのスタイル */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: 500;
}

/* フォームのスタイル */
.form-label {
    font-weight: 500;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* テーブルのスタイル */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* バッジのスタイル */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.badge-primary {
    background-color: #007bff;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
}

/* アラートのスタイル */
.alert {
    border-radius: 0.5rem;
}

/* ダッシュボードのスタイル */
.dashboard-card {
    transition: transform 0.2s;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* カレンダーのスタイル */
.calendar-day {
    min-height: 100px;
    border: 1px solid #dee2e6;
}

.calendar-day-header {
    background-color: #f8f9fa;
    padding: 0.5rem;
    font-weight: 500;
}

.calendar-event {
    margin-bottom: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* プロフィールのスタイル */
.profile-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* メッセージのスタイル */
.message-list {
    max-height: 400px;
    overflow-y: auto;
}

.message-item {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item.unread {
    background-color: rgba(0, 123, 255, 0.05);
}

.message-sender {
    font-weight: 500;
}

.message-time {
    font-size: 0.875rem;
    color: #6c757d;
}

/* レスポンシブ調整 */
@media (max-width: 767.98px) {
    .profile-avatar {
        width: 96px;
        height: 96px;
    }
    
    .calendar-day {
        min-height: 60px;
    }
}

/* アクセシビリティ向上 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 印刷用スタイル */
@media print {
    .no-print {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    body {
        font-size: 12pt;
    }
    
    a[href]:after {
        content: none !important;
    }
}データベーステーブルを作成しました
