/**
 * AuthFi Passkey Login - ログイン画面用CSS
 */

.authfi-passkey-login-section {
    margin-top: 20px;
    text-align: center;
}

.authfi-separator {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.authfi-separator::before,
.authfi-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dcdcde;
}

.authfi-separator span {
    padding: 0 15px;
    color: #72777c;
    font-size: 13px;
}

.authfi-passkey-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.authfi-passkey-button:hover {
    background: linear-gradient(135deg, #135e96 0%, #0a4b78 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.authfi-passkey-button:active {
    transform: translateY(0);
}

.authfi-passkey-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.authfi-passkey-icon {
    width: 20px;
    height: 20px;
}

.authfi-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: authfi-spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes authfi-spin {
    to {
        transform: rotate(360deg);
    }
}

.authfi-passkey-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #72777c;
}

.authfi-error-message {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #fcf0f1;
    border-left: 4px solid #d63638;
    color: #8a0f15;
    font-size: 13px;
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .authfi-separator::before,
    .authfi-separator::after {
        border-color: #50575e;
    }
    
    .authfi-separator span,
    .authfi-passkey-hint {
        color: #a0a5aa;
    }
}
