/* 作業スケジュール生成ツール用カスタムCSS */

/* ボディの基本設定 */
body {
    background-color: #f8f9fa;
    font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
}

/* カードのカスタムスタイル */
.card {
    border: none;
    border-radius: 12px;
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 2px solid #7286D3;
}

/* スケジュール番号のカスタムスタイル */
.schedule-number {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

/* 曜日の色分け */
.day-日 {
    color: #dc3545;
    font-weight: bold;
}

.day-土 {
    color: #0d6efd;
    font-weight: bold;
}

.day-金 {
    color: #fd7e14;
    font-weight: bold;
}

.day-月,
.day-火,
.day-水,
.day-木 {
    color: #198754;
}

/* ボタンのホバー効果 */
.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

/* フォームコントロールのフォーカス効果 */
.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* アラートのカスタマイズ */
.alert {
    border: none;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-info {
    border-left-color: #0dcaf0;
    background-color: #e7f3ff;
}

.alert-warning {
    border-left-color: #ffc107;
    background-color: #fff8e1;
}

.alert-danger {
    border-left-color: #dc3545;
    background-color: #ffebee;
}

/* 背景の微調整 */
.bg-warning-subtle {
    background-color: #fff8e1 !important;
}

/* 統計カードのカスタマイズ */
.card-body .row .col-md-4 h3 {
    margin-bottom: 8px;
    font-weight: bold;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .card-body {
        padding: 20px 15px;
    }

    .schedule-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .d-flex.align-items-center.p-3 {
        padding: 15px !important;
    }


}

/* フォームのスタイル改善 */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-text {
    color: #6c757d;
    font-size: 0.875em;
}

/* カードボーダーのカスタマイズ */
.border-warning {
    border-left: 4px solid #ffc107 !important;
}

.border-primary {
    border-left: 4px solid #0d6efd !important;
}

/* アニメーション効果 */
.card {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* バッジのスタイル */
.badge {
    font-size: 0.75em;
}

/* スケジュール項目のホバー効果 */
.d-flex.align-items-center.p-3:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease-in-out;
}