/* ログインページ共通スタイル */
:root {
    /* デフォルトのテーマカラー */
    --login-gradient-start: #667eea;
    --login-gradient-end: #764ba2;
    --login-focus-color: #667eea;
    --login-focus-shadow: rgba(102, 126, 234, 0.15);
    --login-button-shadow: rgba(102, 126, 234, 0.4);
}

body {
    background: linear-gradient(135deg, var(--login-gradient-start) 0%, var(--login-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.row.g-0 {
    min-height: 600px;
}

.logo-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px 20px;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-section img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.admin-name,
.clinic-name,
.hospital-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 0;
}

.form-section {
    padding: 40px 30px;
    padding-left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #6c757d;
    margin-bottom: 40px;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--login-focus-color);
    box-shadow: 0 0 0 0.2rem var(--login-focus-shadow);
}

.btn-login {
    background: linear-gradient(135deg, var(--login-gradient-start) 0%, var(--login-gradient-end) 100%);
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--login-button-shadow);
    background: linear-gradient(135deg, var(--login-gradient-end) 0%, var(--login-gradient-start) 100%);
}

.alert {
    border-radius: 10px;
    border: none;
}
