﻿/* =============================
   ページ全体背景
============================= */
body {
    padding-top: 50px;
    padding-bottom: 20px;
    background-color: #e6f7ef; /* 薄めミント */
    color: #212529;
}

/* コンテンツ余白 */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* dl-horizontal の折り返し対応 */
.dl-horizontal dt {
    white-space: normal;
}

/* フォーム入力幅 */
input,
select,
textarea {
    max-width: 280px;
}

/* =============================
   ナビバー / ヘッダー緑系
============================= */
.navbar-inverse {
    background-color: #28a745; /* 濃い緑 */
    border-color: #218838;
}

    .navbar-inverse .navbar-nav > li > a {
        color: #fff;
    }

        .navbar-inverse .navbar-nav > li > a:hover {
            color: #d4ffd6; /* 薄い緑ホバー */
        }

    .navbar-inverse .navbar-brand {
        color: #fff !important;
    }

/* =============================
   ボタン緑系
============================= */
.btn-success,
.btn-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
}

    .btn-success:hover,
    .btn-primary:hover {
        background-color: #218838 !important;
        border-color: #1e7e34 !important;
    }

.text-success {
    color: #28a745 !important;
}

/* =============================
   DateTimePicker 緑系
============================= */
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.today,
.bootstrap-datetimepicker-widget table td.selected {
    background-color: #28a745 !important;
    color: #fff;
}

.bootstrap-datetimepicker-widget table td:hover {
    background-color: #218838 !important;
    color: #fff;
}

/* =============================
   読み込みスピナー
============================= */
#loadingSpinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    text-align: center;
}

    #loadingSpinner .spinner-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #loadingSpinner .spinner-border {
        width: 3rem;
        height: 3rem;
        border-width: 0.3rem;
        color: #28a745; /* 緑系 */
    }

    #loadingSpinner .text {
        margin-top: 0.5rem;
        font-weight: bold;
        color: #28a745; /* 緑系 */
    }

/* =============================
   入力フォームフォーカス枠
============================= */
.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* トースト用コンテナ */
.custom-alert {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    z-index: 10000;
    transition: top 0.5s ease;
}

    .custom-alert.success {
        background-color: #4CAF50; /* 緑 */
    }

    .custom-alert.error {
        background-color: #f44336; /* 赤 */
    }
.table-scroll {
    max-height: 300px; /* 好きに変えてくれ */
    overflow-y: auto;
    margin-bottom: 20px;
}

    .table-scroll table thead th {
        background-color: #4CAF50; /* 好きな緑に変更可 */
        color: #fff;
    }

    .table-scroll table tbody td {
        background-color: #ffffff;
    }

.danger-txt{
    color: #fe0000;
    font-size: 16px;
}


