/* ログインページのカスタムスタイル */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    color: #0f172a;
    background: radial-gradient(circle at top left, #dbeafe 0%, #eff6ff 40%, #eef2ff 100%);
    min-height: 100vh;
}

/* ログインページ全体 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* カードラッパー */
.login-card-wrapper {
    width: 100%;
    max-width: 1430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ログインカード全体 */
.login-card {
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    width: 100%;
}

/* 左側: ログインフォーム部分 */
.login-form-section {
    background-color: #ffffff;
    padding: 50px 40px 122px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container {
    width: 100%;
    max-width: 430px;
}

.login-header {
    text-align: left;
    margin-bottom: 36px;
}

.brand-title {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.brand-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 0;
}

/* フォーム要素 */
.form-label {
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
}

.form-control {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 16px;
    margin-bottom: 16px;
}

.form-control:focus {
    background-color: #fff;
    border-color: #4169E1;
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.15);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-check-input:checked {
    background-color: #4169E1;
    border-color: #4169E1;
}

.text-primary {
    color: #4169E1 !important;
}

/* ログインボタン */
.btn-dark {
    background-color: #000;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 右側: 情報パネル */
.info-panel {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 25%, #3b82f6 75%, #4f46e5 100%);
    padding: 40px 40px 40px 40px;
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-content {
    max-width: 700px;
    width: 100%;
}

.info-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.info-description {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* バージョン情報 */
.version-info {
    font-size: 13px;
    padding-top: 70px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.info-label {
    opacity: 0.9;
    min-width: 70px;
}

.info-value {
    font-weight: 600;
    min-width: 105px;
}

/* お知らせ */
.alert-light {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 12px;
    color: #333;
    padding: 16px 20px;
    font-size: 13px;
    line-height: 1.6;
    min-height: 360px;
}

.info-alert {
    width: 100%;
    align-self: stretch;
    flex: 1 1 auto;
}

.info-alert-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    color: #ef4444;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .brand-title {
        font-size: 36px;
    }
    
    .login-page {
        padding: 20px 10px;
    }
    
    .login-card {
        border-radius: 16px;
    }
    
    .login-form-section {
        padding: 82px 24px;
    }
    
    .info-panel {
        padding: 60px 24px 40px 24px;
    }
    
    .version-info {
        margin-top: 24px;
    }
    
    .info-title {
        margin-top: 0;
    }

    .brand-icon {
        height: 68px;
    }

    .brand-logo {
        height: 38px;
    }
}

.brand-icon {
    height: 81px;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

.brand-logo {
    height: 45px;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}
