/* Color */
.bg-image {
    background: 
        linear-gradient(135deg, rgba(47, 79, 79, 0.2), rgba(105, 105, 105, 0.1)),
        url('/images/login-green.png');
    background-size: 300px 300px;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: 0 0;
    min-height: 100vh;
    background-color: #f0f8f0;
}

.text-navy {
    color: #2f4f4f;
}

.btn-navy {
    color: white;
    background: linear-gradient(135deg, #4a6741, #5f8a5f);
    border: none;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-navy:hover {
    color: white;
    background: linear-gradient(135deg, #3e5735, #4a7a4a);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Off-Canvas (SideBar) */
.offcanvas {
	display: none
	}

.offcanvas-outside {
    margin-top: 60px; /* ヘッダーの高さ分の余白を確保 */
    margin-left: 0; /* サイドバー分の余白を削除 */
}

@media (min-width: 992px) {
    .offcanvas {
        display: none;
    }

    .offcanvas-outside {
        transition: none; /* トランジションを無効化 */
		margin-left: 0; /* サイドバー分の余白を削除 */
        margin-top: 60px; /* ヘッダーの高さ分の余白を確保 */
    }
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0.5;
    border: 0;
}

/* Link */
a {
    text-decoration: none;
}

/* Login page specific styles */
.login-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-title {
    color: #2f4f4f;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-control {
    border: 2px solid rgba(47, 79, 79, 0.2);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #5f8a5f;
    box-shadow: 0 0 0 0.2rem rgba(95, 138, 95, 0.25);
    background: white;
}

.form-label {
    color: #2f4f4f;
    font-weight: 500;
    margin-bottom: 8px;
}

.forgot-password-link {
    color: #4a6741 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: #3e5735 !important;
    text-decoration: underline !important;
}

/* Size */
.mh-100 {
    height: calc(100vh - 56px)
}

/* Table */
.table> :not(:first-child) {
    border-top: 0;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* ヘッダー内の要素間のスペースを追加 */
    background: linear-gradient(90deg, #0078a5, #00b4d8); /* グラデーション */
    color: white;
    padding: 15px 30px; /* 少し広めにする */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽いシャドウで立体感を追加 */
    border-radius: 8px; /* 角を少し丸くする */
    margin-bottom: 10px; /* ヘッダーの下に30pxの余白を追加 */
}

.header-title {
    font-size: 24px; /* サイズを大きくして存在感をアップ */
    font-weight: bold; /* 太字にしてアクセントを追加 */
    letter-spacing: 1px; /* 少し文字間隔を広げる */
}

.header-right {
    display: flex; /* フレックスボックスにする */
    align-items: center; /* 垂直方向の中央揃え */
    gap: 20px; /* 要素間のスペース */
}

.header-name {
    font-size: 20px;
    letter-spacing: 1px; /* 少し文字間隔を広げる */
    padding: 8px 15px; /* 少し余裕を持たせる */
}

.logout-button {
    background: linear-gradient(90deg, #e53935, #ff6f61); /* 赤のグラデーション */
    color: white;
    border: none;
    border-radius: 50px; /* 丸みを増やして柔らかい印象に */
    padding: 8px 15px; /* 少し余裕を持たせる */
    cursor: pointer;
    font-size: 16px; /* ボタン内のフォントを少し大きめに */
    transition: all 0.3s ease; /* 全体のトランジションを滑らかに */
}

.logout-button:hover {
    background: linear-gradient(90deg, #d32f2f, #e57373); /* ホバー時の色味を微調整 */
    transform: scale(1.1); /* ホバー時に拡大効果を追加 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* ホバー時に影を強調 */
}
     
/* メインコンテンツを中央配置 */
.main-content {
	margin: 0 auto;
	padding-left: 60px;
	padding-right: 60px;
}