/* ログインページ専用スタイル */
.login-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
}

.login-title {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
    position: relative;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ddd;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.login-panel {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid #e9ecef;
}

.login-panel h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.form-group {
    position: relative;
}

.form-group .icon {
    position: absolute;
    left: 16px;
    top: 72%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.form-group .icon i {
    font-size: 16px;
    color: #999;
}

/* 検索アイコン用スタイル */
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

/* 登録フロー用スタイル */
.register-flow-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.register-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.register-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.register-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.register-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.register-option:hover {
    border-color: var(--unit-color, #a85b89);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.1);
    text-decoration: none;
    color: #333;
}

.register-option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 8px;
}

.register-option-content {
    flex: 1;
}

.register-option-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.register-option-description {
    font-size: 14px;
    color: #666;
}

.register-option-arrow {
    color: #999;
    font-size: 16px;
}

/* LINE連携オプション */
.register-option.line {
    border-color: #06C755;
}

.register-option.line:hover {
    border-color: #06C755;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.2);
}

.register-option.line .register-option-icon {
    background-color: #06C755;
}

/* Google連携オプション */
.register-option.google {
    border-color: #4285F4;
}

.register-option.google:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.register-option.google .register-option-icon {
    background-color: #4285F4;
}

/* Email登録オプション */
.register-option.email {
    border-color: #EA4335;
}

.register-option.email:hover {
    border-color: #EA4335;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
}

.register-option.email .register-option-icon {
    background-color: #EA4335;
}

/* 統一されたボタンスタイル */
.register-button {
    background: var(--unit-color, #a85b89);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.register-button:hover {
    background: #8a4a6f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(168, 91, 137, 0.3);
}

.register-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.register-button i {
    font-size: 16px;
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--unit-color, #a85b89);
    text-decoration: none;
}

/* 完了画面用スタイル */
.complete-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.complete-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.complete-icon {
    width: 80px;
    height: 80px;
    background: var(--unit-color, #a85b89);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
}

.complete-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.complete-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.user-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.user-info h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.user-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.user-info-label {
    font-weight: 500;
    color: #666;
}

.user-info-value {
    color: #333;
    font-weight: 600;
}

.next-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--unit-color, #a85b89);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

/* 非表示状態のスタイル */
.next-button.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.next-button:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.next-button i {
    margin-left: 8px;
    font-size: 14px;
}

/* プログレスステップ用スタイル */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .progress-step-number {
    background: var(--unit-color, #a85b89);
    color: white;
}

.progress-step.completed .progress-step-number {
    background: #28a745;
    color: white;
}

.progress-step.pending .progress-step-number {
    background: #e9ecef;
    color: #666;
}

.progress-step-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.progress-step.active .progress-step-text {
    color: var(--unit-color, #a85b89);
    font-weight: 600;
}

.progress-step.completed .progress-step-text {
    color: #28a745;
    font-weight: 600;
}

.progress-connector {
    width: 40px;
    height: 2px;
    background: #e9ecef;
    margin: 0 5px;
    align-self: center;
}

.progress-connector.completed {
    background: #28a745;
}

/* 検索フロー用スタイル */
.search-flow-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.search-flow-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.search-flow-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
}

.search-panel {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    text-align: center;
}

.search-panel h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-form {
    display: flex;
    justify-content: center;
}

.search-input-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--unit-color, #a85b89);
    box-shadow: 0 0 0 3px rgba(168, 91, 137, 0.1);
}

.search-results {
    margin-top: 20px;
}

.person-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    padding-left: 40px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.person-card:hover {
    border-color: var(--unit-color, #a85b89);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.2);
    transform: translateY(-1px);
}

.person-card.selected {
    border-color: var(--unit-color, #a85b89);
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    transform: translateY(-1px);
}

.person-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.person-org {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

.person-teams {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.person-id {
    font-size: 11px;
    color: #999;
}

.person-select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

.person-card.selected .person-select-icon {
    color: var(--unit-color, #a85b89);
}

.person-card.selected .checkbox {
    content: "☑";
}

.loading {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 20px;
}

.no-results {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.search-tips {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.search-tips h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-tips ul {
    margin: 0;
    padding-left: 20px;
}

.search-tips li {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.next-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: #ccc;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.next-button.active {
    background: var(--unit-color, #a85b89);
    color: white;
}

.next-button.active:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.next-button i {
    margin-left: 8px;
    font-size: 14px;
}

/* 確認画面用スタイル */
.confirm-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.confirm-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.confirm-icon {
    width: 80px;
    height: 80px;
    background: var(--unit-color, #a85b89);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
}

.confirm-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.confirm-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.person-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.person-details h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.person-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.person-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.person-detail-label {
    font-weight: 500;
    color: #666;
}

.person-detail-value {
    color: #333;
    font-weight: 600;
}

.confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.confirm-button {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.confirm-button.yes {
    background: var(--unit-color, #a85b89);
    color: white;
}

.confirm-button.yes:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.confirm-button.no {
    background: #6c757d;
    color: white;
}

.confirm-button.no:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    text-decoration: none;
    color: white;
}

.confirm-button i {
    margin-right: 8px;
    font-size: 14px;
}

/* 最終画面用スタイル */
.final-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.final-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.final-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
}

.final-icon.success {
    background: #28a745;
}

.final-icon.error {
    background: #dc3545;
}

.final-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.final-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.link-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.link-details h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.link-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.link-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.link-detail-label {
    font-weight: 500;
    color: #666;
}

.link-detail-value {
    color: #333;
    font-weight: 600;
}

.final-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.final-button {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.final-button.primary {
    background: var(--unit-color, #a85b89);
    color: white;
}

.final-button.primary:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.final-button.secondary {
    background: #6c757d;
    color: white;
}

.final-button.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    text-decoration: none;
    color: white;
}

.final-button i {
    margin-right: 8px;
    font-size: 14px;
}

/* Email登録用スタイル */
.email-register-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.email-register-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.email-register-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.email-register-panel {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.email-register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--unit-color, #a85b89);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.register-button:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.register-button:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ソーシャルログイン用スタイル */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}


.social-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.register-link {
    text-align: center;
    margin-top: 30px;
}

.register-link a {
    color: var(--unit-color, #a85b89);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #8b5a8b;
    text-decoration: none;
}

.login_info{
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--unit-color, #a85b89);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.login-button:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

/* 左右分割レイアウト用スタイル */
.login-split-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.login-section {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.left-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.right-section {
    min-height: 400px;
}

/* ログインページでヘッダーのログインリンクを非表示 */
.header-welcome .login-link {
    display: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .header-welcome {
        text-align: center;
        margin: 40px 0 0px 0;
        font-size: 18px;
        color: var(--unit-color);
        font-weight: 500;
        position: static;
    }
    
    .header-welcome a {
        text-align: center;
        margin: 40px 0 40px 0;
        font-size: 18px;
        color: var(--unit-color);
        font-weight: 500;
        position: static;
    }
    
    a.logout {
        display: none;
    }
    
    .login-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .login-panel {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .login-split-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .login-section {
        padding: 20px;
    }
}


.form-group-login .icon {
    position: absolute;
    left: 16px;
    top: 54%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    display: flex
;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    z-index: 2;
}

input#email, input#display_name, input#last_name, input#first_name, input#password, input#confirm_password, input#searchInput {
    width: 100% !important;
    padding: 12px 16px 12px 45px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
}
/* ログインページ専用スタイル */
.login-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
}

.login-title {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
    position: relative;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ddd;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.login-panel {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid #e9ecef;
}

.login-panel h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.form-group {
    position: relative;
}

.form-group .icon {
    position: absolute;
    left: 16px;
    top: 72%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.form-group .icon i {
    font-size: 16px;
    color: #999;
}

/* 検索アイコン用スタイル */
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

/* 登録フロー用スタイル */
.register-flow-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.register-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.register-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.register-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.register-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.register-option:hover {
    border-color: var(--unit-color, #a85b89);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.1);
    text-decoration: none;
    color: #333;
}

.register-option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 8px;
}

.register-option-content {
    flex: 1;
}

.register-option-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.register-option-description {
    font-size: 14px;
    color: #666;
}

.register-option-arrow {
    color: #999;
    font-size: 16px;
}

/* LINE連携オプション */
.register-option.line {
    border-color: #06C755;
}

.register-option.line:hover {
    border-color: #06C755;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.2);
}

.register-option.line .register-option-icon {
    background-color: #06C755;
}

/* Google連携オプション */
.register-option.google {
    border-color: #4285F4;
}

.register-option.google:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.register-option.google .register-option-icon {
    background-color: #4285F4;
}

/* Email登録オプション */
.register-option.email {
    border-color: #EA4335;
}

.register-option.email:hover {
    border-color: #EA4335;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
}

.register-option.email .register-option-icon {
    background-color: #EA4335;
}

/* 統一されたボタンスタイル */
.register-button {
    background: var(--unit-color, #a85b89);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}



.register-button:hover {
    background: #8a4a6f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(168, 91, 137, 0.3);
}

.register-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.register-button i {
    font-size: 16px;
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--unit-color, #a85b89);
    text-decoration: none;
}

/* 完了画面用スタイル */
.complete-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.complete-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.complete-icon {
    width: 80px;
    height: 80px;
    background: var(--unit-color, #a85b89);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
}

.complete-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.complete-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.user-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.user-info h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.user-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.user-info-label {
    font-weight: 500;
    color: #666;
}

.user-info-value {
    color: #333;
    font-weight: 600;
}

.next-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--unit-color, #a85b89);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

/* 非表示状態のスタイル */
.next-button.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.next-button:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.next-button i {
    margin-left: 8px;
    font-size: 14px;
}

/* プログレスステップ用スタイル */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .progress-step-number {
    background: var(--unit-color, #a85b89);
    color: white;
}

.progress-step.completed .progress-step-number {
    background: #28a745;
    color: white;
}

.progress-step.pending .progress-step-number {
    background: #e9ecef;
    color: #666;
}

.progress-step-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.progress-step.active .progress-step-text {
    color: var(--unit-color, #a85b89);
    font-weight: 600;
}

.progress-step.completed .progress-step-text {
    color: #28a745;
    font-weight: 600;
}

.progress-connector {
    width: 40px;
    height: 2px;
    background: #e9ecef;
    margin: 0 5px;
    align-self: center;
}

.progress-connector.completed {
    background: #28a745;
}

/* 検索フロー用スタイル */
.search-flow-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.search-flow-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.search-flow-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
}

.search-panel {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    text-align: center;
}

.search-panel h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-form {
    display: flex;
    justify-content: center;
}

.search-input-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--unit-color, #a85b89);
    box-shadow: 0 0 0 3px rgba(168, 91, 137, 0.1);
}

.search-results {
    margin-top: 20px;
}

.person-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    padding-left: 40px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.person-card:hover {
    border-color: var(--unit-color, #a85b89);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.2);
    transform: translateY(-1px);
}

.person-card.selected {
    border-color: var(--unit-color, #a85b89);
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    transform: translateY(-1px);
}

.person-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.person-org {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

.person-teams {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.person-id {
    font-size: 11px;
    color: #999;
}

.person-select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

.person-card.selected .person-select-icon {
    color: var(--unit-color, #a85b89);
}

.person-card.selected .checkbox {
    content: "☑";
}

.loading {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 20px;
}

.no-results {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.search-tips {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.search-tips h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-tips ul {
    margin: 0;
    padding-left: 20px;
}

.search-tips li {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.next-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: #ccc;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.next-button.active {
    background: var(--unit-color, #a85b89);
    color: white;
}

.next-button.active:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.next-button i {
    margin-left: 8px;
    font-size: 14px;
}

/* 確認画面用スタイル */
.confirm-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.confirm-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.confirm-icon {
    width: 80px;
    height: 80px;
    background: var(--unit-color, #a85b89);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
}

.confirm-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.confirm-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.person-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.person-details h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.person-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.person-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.person-detail-label {
    font-weight: 500;
    color: #666;
}

.person-detail-value {
    color: #333;
    font-weight: 600;
}

.confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.confirm-button {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.confirm-button.yes {
    background: var(--unit-color, #a85b89);
    color: white;
}

.confirm-button.yes:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.confirm-button.no {
    background: #6c757d;
    color: white;
}

.confirm-button.no:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    text-decoration: none;
    color: white;
}

.confirm-button i {
    margin-right: 8px;
    font-size: 14px;
}

/* 最終画面用スタイル */
.final-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.final-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.final-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
}

.final-icon.success {
    background: #28a745;
}

.final-icon.error {
    background: #dc3545;
}

.final-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.final-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.link-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.link-details h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.link-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.link-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.link-detail-label {
    font-weight: 500;
    color: #666;
}

.link-detail-value {
    color: #333;
    font-weight: 600;
}

.final-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.final-button {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.final-button.primary {
    background: var(--unit-color, #a85b89);
    color: white;
}

.final-button.primary:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.final-button.secondary {
    background: #6c757d;
    color: white;
}

.final-button.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    text-decoration: none;
    color: white;
}

.final-button i {
    margin-right: 8px;
    font-size: 14px;
}

/* Email登録用スタイル */
.email-register-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.email-register-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.email-register-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.email-register-panel {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.email-register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--unit-color, #a85b89);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.register-button:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}

.register-button:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ソーシャルログイン用スタイル */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* ソーシャルログインボタン */
.social-button {
    display: flex;
    align-items: center;

    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    gap: 10px;
    min-height: 44px;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.register-link {
    text-align: center;
    margin-top: 30px;
}

.register-link a {
    color: var(--unit-color, #a85b89);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #8b5a8b;
    text-decoration: none;
}

.login_info{
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--unit-color, #a85b89);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.login-button:hover {
    background: #8b5a8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 91, 137, 0.3);
    text-decoration: none;
    color: white;
}



.btn.new-button {
    margin-bottom: 10px;
}

.login-form button {
    width: auto;
    min-width: 160px;
    padding: 12px 24px;
    font-size: 15px;
}

.form-group-login {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.form-group-login .icon {
    position: absolute;
    left: 16px;
    top: 54%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    z-index: 2;
}

.form-group-login input {
    width: 100% !important;
    padding: 12px 16px 12px 45px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
}

.form-group-login input:focus {
    outline: none !important;
    border-color: #3498db !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1) !important;
}

.form-group input:focus {
    outline: none !important;
    border-color: #3498db !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1) !important;
}

input#email,
input#display_name,
input#last_name,
input#first_name,
input#password,
input#confirm_password,
input#searchInput {
    width: 100% !important;
    padding: 12px 16px 12px 45px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
}

/* 新規登録ボタン用スタイル */
.register-button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: rgba(168, 91, 137, 0.1);
    color: var(--unit-color, #a85b89);
    text-decoration: none;
    border: 2px solid rgba(168, 91, 137, 0.3);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(168, 91, 137, 0.1);
}

.register-button-link:hover {
    background: rgba(168, 91, 137, 0.15);
    border-color: rgba(168, 91, 137, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(168, 91, 137, 0.2);
    text-decoration: none;
    color: var(--unit-color, #a85b89);
}

.register-button-link i {
    font-size: 14px;
}

/* 検索グリッド用スタイル */
.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

/* 新規登録フォーム用スタイル */
.new-person-form {
    display: none;
}

.new-person-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid var(--unit-color, #a85b89);
}

.new-person-title {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-person-title i {
    color: var(--unit-color, #a85b89);
}

.new-person-description {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-actions {
    text-align: center;
}

/* 質問セクション用スタイル */
.question-section {
    display: none;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--unit-color, #a85b89);
}

.question-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.question-title i {
    color: var(--unit-color, #a85b89);
}

.question-description {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.button-container {
    text-align: center;
    margin-top: 30px;
}

/* 縦並びログインオプション用スタイル */
.login-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-option {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.login-option h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    text-align: center;
}



/* 左右分割レイアウト用スタイル */
.login-split-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.login-section {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.left-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.right-section {
    min-height: 400px;
}

/* ログインページでヘッダーのログインリンクを非表示 */
.header-welcome .login-link {
    display: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .header-welcome {
        text-align: center;
        margin: 40px 0 0px 0;
        font-size: 18px;
        color: var(--unit-color);
        font-weight: 500;
        position: static;
    }
    
    .header-welcome a {
        text-align: center;
        margin: 40px 0 40px 0;
        font-size: 18px;
        color: var(--unit-color);
        font-weight: 500;
        position: static;
    }
    
    a.logout {
        display: none;
    }
    
    .login-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .login-panel {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .login-split-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .login-section {
        padding: 20px;
    }
}



